import type { WrapperParameters } from '../../../common/modules/defineModule'; import type { DigitalIdModule } from '../../definition'; import type { OCRStatus } from '../../../frankie-client/clients/OCRClient'; import type { Dictionary } from '../../../../types/index.js'; type Shared = WrapperParameters[0]; type Options = WrapperParameters[1]; /** * This function will * 1) Trigger the Digital ID processing * 2) Fetch the updated individual details * 3) Evaluate the Digital ID status to trigger the appropriate event * * It will also emit loading events at the start and end of the process, as well as between long lasting steps. * Redirect URLs passed via redirectUrls are forwarded in event payloads for the flow to act on. * @throws This function doesn't throw exceptions, only error events * @param shared * @param options * @param token * @param vendorParameters * @param redirectUrls Optional success/failure URLs to include in event payloads */ export declare const initProcessAndEvaluateResults: (shared: Shared, options: Options, token?: string, vendorParameters?: Dictionary, redirectUrls?: { success?: string; failure?: string; }, autoOpen?: boolean) => Promise; export {}; //# sourceMappingURL=initProcess.d.ts.map