import { E as createActor, O as fromPromise } from "./spawn-D9jgw9pW.js"; import { n as fromCallback } from "./callback-645_omgz.js"; import "./StateMachine-EDpYWy0i.js"; import "./Actor-iTq7YY48.js"; import { c as ElectronicSignatureFileDataHolder } from "./types-DVmXIdzW.js"; import { a as ElectronicSignatureActor, i as createElectronicSignatureManagerFromActor, n as ElectronicSignatureState, t as ElectronicSignatureManager } from "./electronicSignatureManager-CcUXQZS7.js"; import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-BY36bS12.js"; import { _ as SendFaceImageResponse, c as SelfieActor, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, v as AuthenticationActor } from "./faceCaptureManagerFactory-BxWPpxyd.js"; import { t as IStorageCapability } from "./IStorageCapability-ORkQfK3F.js"; import { n as BaseWasmProvider } from "./FaceDetectionProvider-Mh6q3EbA.js"; import { c as VirtualCameraCheckOutput, l as WasmUtilConfig, s as IWasmUtilCapability } from "./types-Hmd7U0JA.js"; import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-DwlCppg0.js"; import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BBMGTcwW.js"; import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-3Pbtj-RV.js"; import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js"; import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-DVGr7Fq7.js"; import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-B3t0ydtg.js"; import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-fhK0yINk.js"; import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js"; import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js"; import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js"; import { n as CaptureIdResponse } from "./types-Bdf8_LYB2.js"; import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-CqrqSjJV.js"; import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js"; import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DLXef90v.js"; import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js"; import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js"; import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-DyPzUmsZ.js"; import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DXc_xRN7.js"; import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BD2PvT5B.js"; import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-DGBSWz2_.js"; import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Cz744E5S.js"; import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BB4Pj_N6.js"; import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-BnvrZM2F.js"; //#region src/modules/authentication/authenticationUploadService.d.ts type AuthenticationUploadResponse = { overallStatus: 'PASS' | 'FAIL'; captureAttemptsLimit: { max: number; remaining: number; }; candidate: string; error: { name: string; message: string; }; imageBase64?: string; selfieEncryptedBase64?: string; metadata?: string; }; //#endregion //#region ../infra/src/providers/browser/BrowserStorageProvider.d.ts /** * Browser-based storage provider wrapping localStorage. * Handles JSON serialization/deserialization automatically. * * Degrades silently when the host makes localStorage unreachable: reads return * `null` and writes are no-ops. Deliberately quiet — hosts that harden against * self-XSS by deleting the global would otherwise see a warning on every call. */ declare class BrowserStorageProvider implements IStorageCapability { /** * Retrieves a value from localStorage. * @param key - The storage key * @returns The stored value, or null if not found or storage is unavailable * @throws Error if stored value is invalid JSON */ get(key: string): Promise; /** * Stores a value in localStorage. No-op when storage is unavailable. * @param key - The storage key * @param value - The value to store (will be serialized as JSON) * @throws Error if value cannot be serialized or quota is exceeded */ set(key: string, value: T): Promise; /** * Removes a value from localStorage. No-op when storage is unavailable. * @param key - The storage key to remove */ remove(key: string): Promise; /** * Clears all values from localStorage. No-op when storage is unavailable. */ clear(): Promise; } //#endregion //#region ../infra/src/providers/wasm/WasmUtilProvider.d.ts declare class WasmUtilProvider extends BaseWasmProvider implements IWasmUtilCapability { private static instance; private static initPromise; static getInstance(): Promise; static resetInstance(): void; constructor(); initialize(config: WasmUtilConfig): Promise; processFrame(_image: ImageData): Promise; encryptImage(image: string): string; setSdkVersion(version: string): void; setSdkPlatform(platform: string): void; setDeviceInfo(deviceInfo: object, overrideExisting?: boolean): void; setBrowserInfo(browserInfo: object, overrideExisting?: boolean): void; setCameraInfo(cameraInfo: object, overrideExisting?: boolean): void; setMotionStatus(status: string): void; setBackgroundMode(backgroundMode: boolean): void; setOnDeviceMode(enabled: boolean): void; setZc(zc: string): void; setInspectorOpened(opened: boolean): void; getInspectorOpened(): boolean; /** * Toggles the WASM module's production mode. When `true`, the native module * suppresses its verbose debug logging/console output; when `false`, those * logs are emitted. The SDK forces this to `true` by default and only flips * it off when the caller opts in via `setup({ wasm: { showLogs: true } })`. * * @param productionMode - `true` to silence WASM logs, `false` to emit them. */ setProductionMode(productionMode: boolean): Promise; getMetadata(): string; analyzeFrame(image: ImageData): Promise; getCheck(): string; getPipelineState(): string; estimatePerformance(): string; isVirtualCamera(label: string | null): boolean; prc(): Promise; poc(output: VirtualCameraCheckOutput): Promise; rsp(): Promise; ssl(): void; stl(): void; osv(): void; oev(): void; ckvcks(data: ArrayBuffer): void; getVersions(): Promise; } //#endregion //#region ../infra/src/capabilities/IFingerprintCapability.d.ts type DeviceFingerprintInfo = { device: { model?: string; }; os: { name?: string; version?: string; }; browser: { name?: string; version?: string; }; }; type FingerprintResult = { visitorId: string; ip: string; deviceInfo: DeviceFingerprintInfo; algorithmName?: string; algorithmVersion?: string; }; //#endregion //#region ../infra/src/device/getDeviceData.d.ts declare function getDeviceFingerprintInfo(): Promise; //#endregion //#region src/internal/fingerprint/fingerprintApi.d.ts declare function getFingerprint(disableIpify?: boolean): Promise; //#endregion export { type AntifraudActor, type AntifraudManager, type AntifraudState, type AuthenticationActor, type AuthenticationManager, type AuthenticationState, type AuthenticationUploadResponse, BrowserStorageProvider, type CaptureIdResponse, type ConsentActor, type ConsentManager, type ConsentState, type CrossDocumentDataMatchActor, type CrossDocumentDataMatchManager, type CrossDocumentDataMatchState, type CurpValidationActor, type CurpValidationManager, type CurpValidationState, type DeviceFingerprintInfo, type DocumentCaptureActor, type DocumentCaptureManager, type DocumentCaptureState, type DynamicFormsActor, type DynamicFormsManager, type DynamicFormsState, type EkybActor, type EkybManager, type EkybState, type EkycActor, type EkycManager, type EkycState, type ElectronicSignatureActor, type ElectronicSignatureFileDataHolder, type ElectronicSignatureManager, type ElectronicSignatureState, type EmailActor, type EmailManager, type EmailState, type FaceCaptureContext, type FaceCaptureEvent, type FaceCaptureInput, type FaceCaptureManager, type FaceCaptureManagerState, type FaceMatchActor, type FaceMatchManager, type FaceMatchState, type FieldComparisonActor, type FieldComparisonManager, type FieldComparisonState, type FingerprintResult, type GeolocationActor, type GeolocationManager, type GeolocationState, type IdCaptureActor, type IdCaptureManager, type IdCaptureState, type IdOcrActor, type IdOcrManager, type IdOcrState, type IdVerificationActor, type IdVerificationManager, type IdVerificationState, type IdentityReuseActor, type IdentityReuseManager, type IdentityReuseState, type MandatoryConsentActor, type MandatoryConsentManager, type MandatoryConsentState, type PhoneActor, type PhoneManager, type PhoneState, type ProcessFaceResponse, type RedirectToMobileActor, type RedirectToMobileManager, type RedirectToMobileState, type SelfieActor, type SelfieManager, type SelfieState, type SendFaceImageResponse, type SignatureActor, type SignatureManager, type SignatureState, WasmUtilProvider, type WatchlistActor, type WatchlistManager, type WatchlistState, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };