import type { EventHub } from '../..'; import type { IncodeInstance, IncodeResponse, IncodeSuccessResponse } from './onBoarding.types'; import type { Events } from '../../../ocr'; export type CameraProps = { sdkVersion?: string | null; incode: IncodeInstance; token: { token: string; interviewId: string; }; eventHub: EventHub; mountElement: HTMLElement; numberOfTries?: number; onSuccess?: (response: Partial) => void; onError: (response: IncodeResponse, payload?: unknown) => void; onLog: (response: IncodeResponse) => void; validate?: ({ typeOfId, countryCode, }: Partial) => boolean; consentId?: string | null; showDocSelector?: boolean; renderCaptureId?: boolean; renderCaptureFace?: boolean; showTutorial?: boolean; renderCameraProps?: Record; }; export type CameraInstanceRef = { current?: ReturnType | null; }; export declare const startCamera: (purpose: "biometrics" | "ocr", cameraProps: CameraProps, cameraInstanceRef: CameraInstanceRef) => Promise; //# sourceMappingURL=startCamera.d.ts.map