import { type Unsubscribe } from "@wix/sdk-runtime/nanoevents"; import type { AuthenticationApi, RegistrationOptions, RegistrationResult } from "../types.js"; export declare class WixHostedHeadlessAuthenticationApi implements AuthenticationApi { private emitter; constructor(); private getAuth; loggedIn(): boolean; register(email: string, password: string, options?: RegistrationOptions): Promise; login(email: string, password: string): Promise; logout(): Promise; applySessionToken(token: string): Promise; sendPasswordResetEmail(email: string, redirectUri: string): Promise; onLogin(handler: () => void): Unsubscribe; onLogout(handler: () => void): Unsubscribe; } //# sourceMappingURL=wix-hosted-headless-authentication-api.d.ts.map