import { type VouchSuccess, type VouchError, type VouchHeadlessProgress } from './NativeVouch'; export interface VouchSDKConfig { customerId: string; apiKey: string; languageCodeOverride?: string; } export interface VouchStartParams { dataSourceId: string; webhookUrl: string; inputs?: Object; metadata?: string; } export type { VouchSuccess, VouchError, VouchHeadlessProgress }; declare class VouchSDK { /** * Initialize the Vouch SDK * @param config - Configuration object with customerId, apiKey, and optional language override */ initialize(config: VouchSDKConfig): Promise; /** * Check if the SDK is initialized * @returns true if initialized, false otherwise */ isInitialized(): boolean; /** * Destroy the Vouch SDK and clear initialization state */ destroy(): Promise; /** * Start a proof request flow * Presents the native Vouch UI modally * @param params - Start parameters including dataSourceId, webhookUrl, and optional inputs * @returns Promise that resolves with VouchSuccess or rejects with VouchError */ start(params: VouchStartParams): Promise; startHeadless(params: VouchStartParams, onProgress?: (progress: VouchHeadlessProgress) => void): Promise; } declare const _default: VouchSDK; export default _default; //# sourceMappingURL=index.d.ts.map