export function euclideanDistances(point1: any, point2: any): number; export function getDistance(point1: any, point2: any): number; export function padBorders({ canvas, imgMargin }?: { canvas: any; imgMargin: any; }): { mat: any; margin: any; }; export function fourPointTransform(canvas: any, corners: any): ImageData; export function validatePadding({ corners, width, height }: { corners: any; width: any; height: any; }): boolean; export function validateGlare({ canvas, paddingPercent }?: { canvas: any; paddingPercent?: number | undefined; }): Promise; export function validateAngles(points: any): boolean; export function validateFaces({ blazefaceModel, predictedIdCardCanvas, frontSide }: { blazefaceModel: any; predictedIdCardCanvas: any; frontSide: any; }): Promise<{ readonly code: "id_detector_error_front_side_no_faces"; readonly msg: { readonly en: "Please capture the front side of ID card"; readonly vi: "Vui lòng chụp mặt trước của giấy tờ"; }; } | { readonly code: "id_detector_error_front_side_multiple_faces"; readonly msg: { readonly en: "Please capture the front side of one ID card only (remove other items out of the frame)"; readonly vi: "Vui lòng chụp mặt trước 1 giấy tờ duy nhất"; }; } | { readonly code: "id_detector_error_back_side_has_faces"; readonly msg: { readonly en: "Please capture the back side of ID card"; readonly vi: "Vui lòng chụp mặt sau của giấy tờ"; }; } | null>; export function getRectangleMaskProps(props: any, theme: any): { width: any; height: any; strokeWidth: any; radius: any; paddingStyle: any; defaultRectStyles: any; errorRectStyles: any; }; export function getCardCoordinates(modelResult: any): string; export function getFrameHash({ canvas, cardPosition, quality }: { canvas: any; cardPosition: any; quality?: number | undefined; }): string | null; export function getFrameHashes({ canvas, cardPosition, quality, count }: { canvas: any; cardPosition: any; quality: any; count?: number | undefined; }): Promise<(string | null)[]>; export function checkIsCardAllowed(cardType: any, allowedList: any): any; export function addCustomTextsToLocale(customTexts: null | undefined, lang: any): {};