import { OAuthToken } from "./handler/TokenHandler"; declare class API { apiKeyID: string; constructor(apiKeyID: string); getTokensFromRefreshToken(refreshToken: string | null): Promise; removeRefreshToken(): Promise; checkCredentialExist(identifier: string): Promise; beginWebAuthnRegistration(identifier: string, origin: string): Promise; finishWebAuthnRegistration(identifier: string, credential: any, origin: string): Promise; beginWebAuthnLogin(identifier: string, origin: string): Promise; finishWebAuthnLogin(identifier: string, identifierType: string, credential: any, origin: string, publicKey: string): Promise; loginAndConnect(tokenID: string, userID: string, provider: any): Promise; getInfo(): Promise; } export default API;