import type { EidPollResponse, EidVerificationResult } from "./eid.types"; export declare const INITIAL_DELAY_MS = 1000; export declare const MAX_DELAY_MS = 3000; export declare const BACKOFF_FACTOR = 1.5; export declare const POLLING_DEADLINE_MS = 120000; export declare const MAX_CONSECUTIVE_FAILURES = 3; /** * Two-step poll flow (MR 489): * 1. Poll GET /transactions/{id}/eid until status is terminal. * 2. Derive outcome from terminal status. * * PII (person fields) is intentionally NOT included in the SDK result. * * @param deadlineMs Override polling deadline. PollResult providers (Yoti) use the * server-supplied timeoutSeconds since the user may be in a mobile app for 2-3 minutes. * CaptureRedirect flows keep the default 120s (server guards the redirect window). */ export declare function pollForResult(transactionId: string, authorizedGet: (path: string) => Promise, signal?: AbortSignal, deadlineMs?: number): Promise;