import type { Events as BiometricsEvents } from '../../../biometrics'; import { type EventHub } from '../..'; import type { Events as OcrEvents } from '../../../ocr'; export declare const install: ({ sdkVersion, }: { sdkVersion?: string | undefined; }) => Promise; /** @deprecated to support onfido < 14. use `observeReady` instead for onfido >= 14*/ export declare const legacyObserveReady: (mutationClass: string, eventHub: EventHub) => void; export declare const observeReady: (id: string, eventHub: EventHub) => void; export declare const resolveOnfidoVersion: (sdkVersion?: string) => { str: string; number: number; }; /** * Resolves the Onfido `showExitButton` option from a module's provider config. * * Kept here rather than inline per module: this expression was previously * copy-pasted into each vendor init, and the biometrics module was missed in * both wiring passes — so a config the type system accepted was silently * dropped and users had no way out of the flow (FDEL-51933 / FRANKIE-26988). * * Note this is only honoured by Onfido v14+; the legacy init uses * `useModal`/`onModalRequestClose` instead. */ export declare const resolveShowExitButton: (provider?: { name?: string; showExitButton?: boolean; }) => boolean; export declare const confirmCloseOnfidoModal: () => boolean; //# sourceMappingURL=index.d.ts.map