export type SRPProtocol = "s2k" | "s2k_fo"; export interface ServerSRPInitRequest { a: string; accountName: string; protocols: SRPProtocol[]; } export interface ServerSRPInitResponse { iteration: number; salt: string; protocol: "s2k" | "s2k_fo"; b: string; c: string; } export interface ServerSRPCompleteRequest { accountName: string; c: string; m1: string; m2: string; rememberMe: boolean; trustTokens: string[]; } export declare class GSASRPAuthenticator { private username; constructor(username: string); private srpClient?; private derivePassword; getInit(): Promise; getComplete(password: string, serverData: ServerSRPInitResponse): Promise>; }