import type { Onfido } from 'onfido-sdk-ui';
export interface IdVerificationProps {
    minimumApplicantDetails: MinimumApplicantDetails;
    legalEntityId?: string | undefined;
    onIdVerificationComplete?: (data: any) => void;
    onIdVerificationError?: (error: any) => void;
}
/**
 * Onfido needs us to provide a minimum set of details for an applicant
 * in order to get a token to begin the flow.
 */
export interface MinimumApplicantDetails {
    firstName?: string;
    lastName?: string;
    residencyCountry?: string;
}
export type OnfidoLocaleConfig = Parameters<typeof Onfido.init>[0]['language'];
