import { Props as StringFieldProps } from '../String';
import type { ValidatorDisableable } from '../../types';
import { FormError } from '../../utils';
export type Props = Omit<StringFieldProps, 'onBlurValidator'> & {
    omitMask?: boolean;
    validate?: boolean;
    onBlurValidator?: ValidatorDisableable<string>;
};
declare function NationalIdentityNumber(props: Props): import("react/jsx-runtime").JSX.Element;
declare namespace NationalIdentityNumber {
    var _supportsSpacingProps: boolean;
}
export declare function getAgeByBirthDate(birthDate: Date): number;
export declare function getBirthDateByFnrOrDnr(value: string): Date;
export declare function createMinimumAgeValidator(age: number): (value: string) => FormError;
export declare function createMinimumAgeVerifier(age: number): (value: string) => boolean;
export default NationalIdentityNumber;
