import type { DocumentType } from '../../../../core/models/api/document';
import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
import type { NsTranslationKey } from '../../../../../types';
import type { CountryCode } from '../../../../types/datasets/country-code';
import type { FileSchema } from '../../../../types/file';
import type { MinimumApplicantDetails } from '../IdVerification/types';
export interface IdDocumentUploadSchema {
    idDocumentType: DocumentType;
    idFrontPage?: FileSchema[];
    idBackPage?: FileSchema[];
    instantIdVerificationData?: OnfidoCaptureSchema;
    modificationDate: string;
    documentCountry?: CountryCode;
}
export interface IdDocumentTypeOption {
    id: DocumentType;
    name: NsTranslationKey<'common'>;
    hasBackPage: boolean;
}
export interface OnfidoCaptureSchema {
    document_front: {
        id: string;
        type: DocumentType;
        side: 'front';
    };
    document_back?: {
        id: string;
        type: DocumentType;
        side: 'back';
    };
}
export interface IdDocumentInstantVerificationProps extends BaseInnerFormProps<IdDocumentUploadSchema> {
    minimumApplicantDetails?: MinimumApplicantDetails;
    legalEntityId?: string | undefined;
    handleOnBack?: () => void;
    handleOnNext?(e?: () => void, callbacks?: () => void, isValid?: boolean): void;
}
export interface IdDocumentManualUploadProps extends BaseInnerFormProps<IdDocumentUploadSchema> {
    legalEntityId?: string;
    name: string;
    country?: CountryCode;
}
export declare const onfidoDocumentTypeMapping: IdDocumentTypeOption[];
