import { AnyKeyParamsContent } from '@standardnotes/common' import { SessionBody } from '@standardnotes/responses' export interface AuthClientInterface { generateRecoveryCodes(): Promise recoveryKeyParams(dto: { username: string codeChallenge: string recoveryCodes: string }): Promise signInWithRecoveryCodes(dto: { username: string password: string codeVerifier: string recoveryCodes: string hvmToken?: string }): Promise< | { success: true keyParams: AnyKeyParamsContent session: SessionBody user: { uuid: string email: string protocolVersion: string } } | { success: false captchaURL: string } > }