import { AuthMethodInteractor, AuthPayload, CompleteAuthResponse, StartAuthResponse } from './auth-method-interactors/AuthMethodInteractor'; import { WABTransport, WABTransportOptions } from './WABTransport'; import { WABFaucetResponse, WABLinkedMethodsResponse, WABOperationResponse, WABServerInfo } from './WABResponseValidation'; export type { WABFaucetResponse, WABLinkedAuthMethod, WABLinkedMethodsResponse, WABOperationResponse, WABServerInfo } from './WABResponseValidation'; export interface WABClientOptions extends WABTransportOptions { } /** * Production-oriented WAB client with one security and observability boundary * for every endpoint. */ export declare class WABClient { readonly transport: WABTransport; constructor(serverUrl: string, options?: WABClientOptions); getInfo(): Promise; generateRandomPresentationKey(): string; startAuthMethod(authMethod: AuthMethodInteractor, presentationKey: string, payload: AuthPayload, correlationId?: string): Promise; completeAuthMethod(authMethod: AuthMethodInteractor, presentationKey: string, payload: AuthPayload, correlationId?: string): Promise; listLinkedMethods(presentationKey: string): Promise; unlinkMethod(presentationKey: string, authMethodId: number): Promise; requestFaucet(presentationKey: string): Promise; finalizeRegistration(presentationKey: string): Promise; deleteUser(presentationKey: string): Promise; startShareAuth(methodType: string, userIdHash: string, payload: AuthPayload): Promise<{ success: boolean; message: string; }>; storeShare(methodType: string, payload: AuthPayload, shareB: string, userIdHash: string): Promise<{ success: boolean; message: string; userId?: number; }>; retrieveShare(methodType: string, payload: AuthPayload, userIdHash: string): Promise<{ success: boolean; shareB?: string; message: string; }>; updateShare(methodType: string, payload: AuthPayload, userIdHash: string, newShareB: string): Promise<{ success: boolean; message: string; shareVersion?: number; }>; deleteShamirUser(methodType: string, payload: AuthPayload, userIdHash: string): Promise<{ success: boolean; message: string; }>; } //# sourceMappingURL=WABClient.d.ts.map