import type { IdCapture } from "./IdCapture";
import type { IdCaptureError } from "./IdCaptureError";
import type { RejectionReason } from "./RejectionReason";
import type { CapturedId } from "./captured-id/CapturedId";
import type { LocalizedOnlyId } from "./captured-id/LocalizedOnlyId";
export interface Listener {
    didCaptureId?: (capturedId: CapturedId) => Promise<void> | void;
    didRejectId?: (capturedId: CapturedId, reason: RejectionReason) => Promise<void> | void;
    didFailWithError?: (idCapture: IdCapture, error: IdCaptureError) => void;
    didLocalizeId?: (localization: LocalizedOnlyId) => void;
}
