import { IdentityVerificationProvider } from './enums'; /** * Identity request input */ export interface IdentityRequest { applicantId: number; restart?: boolean; redirectUrl?: string; ttl?: number; } /** * Applicant registration request output (with identity token) */ export interface ApplicantRegistrationRequestOutput { applicantId: number; provider: IdentityVerificationProvider | null; publicProviderTokenObject: Record | null; identityWorkflow?: string; redirectUrl?: string; } /** * Sumsub SDK configuration (passed to the JS Web SDK) */ export interface SumsubConfig { accessToken: string; applicantEmail?: string; applicantPhone?: string; externalUserId?: string; flowName?: string; lang?: string; theme?: 'light' | 'dark'; /** WebSDK 2.0: name of a customization created in the Sumsub Dashboard. */ customizationName?: string; /** WebSDK 1.0 fallback: URL to an external CSS file. */ customCss?: string; /** WebSDK 1.0 fallback: inline CSS string injected into the SDK iframe. */ customCssStr?: string; adaptIframeHeight?: boolean; onTokenRefresh: () => Promise; } /** * Onfido SDK configuration */ export interface OnfidoConfig { token: string; containerId?: string; steps?: OnfidoStep[]; onComplete?: () => void; onError?: (error: any) => void; } /** * Onfido step configuration */ export interface OnfidoStep { type: 'welcome' | 'document' | 'face' | 'complete'; options?: Record; } /** * SardinAI Risk SDK configuration */ export interface SardinAIConfig { clientId: string; sessionKey?: string; environment?: 'production' | 'sandbox'; region?: 'us' | 'eu' | 'ca' | 'au'; flow?: string; enableBiometrics?: boolean; enablePortScanning?: boolean; userIdHash?: string; } //# sourceMappingURL=identity.d.ts.map