import { IdentityType } from "./clients/intent.gen.js"; export interface ChallengeIntentParams { identityType: IdentityType; verifier: string; answer?: string; } export declare abstract class Challenge { abstract getIntentParams(): ChallengeIntentParams; abstract withAnswer(answer: string): Challenge; } export declare class GuestChallenge extends Challenge { readonly sessionId: string; readonly challenge: string; constructor(sessionId: string, challenge: string); getIntentParams(): ChallengeIntentParams; withAnswer(answer: string): Challenge; } export declare class EmailChallenge extends Challenge { readonly email: string; readonly sessionId: string; readonly challenge: string; private hashedAnswer?; constructor(email: string, sessionId: string, challenge: string); getIntentParams(): ChallengeIntentParams; setAnswer(answer: string): void; withAnswer(answer: string): EmailChallenge; } export declare class IdTokenChallenge extends Challenge { readonly idToken: string; constructor(idToken: string); getIntentParams(): ChallengeIntentParams; withAnswer(): this; } export declare class StytchChallenge extends IdTokenChallenge { readonly idToken: string; constructor(idToken: string); getIntentParams(): ChallengeIntentParams; } export declare class PlayFabChallenge extends Challenge { readonly titleId: string; readonly sessionTicket: string; constructor(titleId: string, sessionTicket: string); getIntentParams(): ChallengeIntentParams; withAnswer(): this; } export declare class XAuthChallenge extends Challenge { readonly accessToken: string; constructor(accessToken: string); getIntentParams(): ChallengeIntentParams; withAnswer(): this; }