import { IdleState, BusyState, TokensFromSignIn } from "./model.js"; export declare function authenticateWithSRP({ username, password, smsMfaCode, newPassword, customChallengeAnswer, authflow, tokensCb, statusCb, clientMetadata, }: { /** * Username, or alias (e-mail, phone number) */ username: string; password: string; smsMfaCode?: () => Promise; newPassword?: () => Promise; customChallengeAnswer?: () => Promise; authflow?: "USER_SRP_AUTH" | "CUSTOM_AUTH"; tokensCb?: (tokens: TokensFromSignIn) => void | Promise; statusCb?: (status: BusyState | IdleState) => void; currentStatus?: BusyState | IdleState; clientMetadata?: Record; }): { signedIn: Promise<{ idToken: string; accessToken: string; expireAt: Date; refreshToken: string; username: string; }>; abort: () => void; };