import { TelephoneNumberFieldOptionsFormatEnum } from '@defra/forms-model';
import LibPhoneNumber from 'google-libphonenumber';
import JoiBase from 'joi';
export declare const COUNTRY = "GB";
export declare const INVALID_ERROR_CODE = "phoneNumber.invalid";
export declare const UK_ERROR_CODE = "phoneNumber.uk";
export declare const INTERNATIONAL_ERROR_CODE = "phoneNumber.international";
export declare const isUKNumber: (value: LibPhoneNumber.PhoneNumber) => boolean;
export declare function getErrorCode(format?: TelephoneNumberFieldOptionsFormatEnum): "phoneNumber.invalid" | "phoneNumber.uk" | "phoneNumber.international";
export declare const joi: JoiBase.Root;
