import type { ProofOfAddressType } from '../steps/ProofOfAddress.js';
import type { StepNames } from '../steps/Step.js';
export type CompleteCallback = (result: Record<string, CaptureResult>) => void;
export type CaptureResult = DocumentCaptureResult | FaceMotionCaptureResult | FacePhotoCaptureResult | FaceVideoCaptureResult | ProofOfAddressCaptureResult;
export type FacePhotoCaptureResult = {
    type: StepNames.FacePhoto;
    id: string;
};
export type FaceVideoCaptureResult = {
    type: StepNames.FaceVideo;
    id: string;
};
export type FaceMotionCaptureResult = {
    type: StepNames.FaceMotion;
    id: string;
};
export type DocumentSide = {
    id: string;
    videoId: string;
};
export type DocumentSides = {
    front?: DocumentSide;
    back?: DocumentSide;
};
export type DocumentCaptureResult = {
    type: StepNames.Document;
    sides: DocumentSides;
    countryCode: string;
};
export type ProofOfAddressCaptureResult = {
    type: StepNames.ProofOfAddress;
    documentType: ProofOfAddressType;
    sides: DocumentSides;
};
