import type { OneSdkContext } from '../../sdk/types/oneSDK'; import type { ClassifierInput } from '../types/classifierInput'; /** the subset of a flow's journey config this helper needs, shared by every flow */ export type SubmitConfig = { triggerVerificationOnSubmit?: boolean; /** * Whether the flow has a review screen at all. Not used to decide what to * mount — that is `screenSequence.ts`'s job — but to decide whether a * retryable result is actionable at all. See `settleable` below. */ withReview?: boolean; }; /** * Whether this flow should call `individual().submit({ verify: true })` at all. * * Exported because the flows need the same answer for a different reason: they * mount a "Verifying your identity" loader around the submit, and a loader for * a call that never happens is a spinner for no work. Sharing the predicate * keeps that decision and the branch it guards from drifting apart. */ export declare const verificationRequested: (config: SubmitConfig) => boolean; /** * Submit for verification and turn the result into a `ClassifierInput`. * Shared by every flow's CAPTURE step (`idvFlow.ts`, `ocrFlow.ts`, …): none of * this is flow-specific — it is `individual().submit()` and the shape * `classify.ts` already expects. */ export declare const submitAndClassify: (deps: { oneSdk: OneSdkContext; config: SubmitConfig; }) => Promise; //# sourceMappingURL=submitAndClassify.d.ts.map