import { RJSFSchema } from '@rjsf/utils'; export interface PhoneCountry { code: string; name: string; pattern?: unknown; } export declare function countryCode(value: unknown): string; export declare function phoneCountries(value: unknown): PhoneCountry[]; export declare function numberCountry(value: string, countries: PhoneCountry[]): string; export declare function withCountryCode(value: string, code: string): string; export declare function internationalPhone(value: string): string; /** Mirror explicit string constraints for immediate feedback; RJSF remains the submit validator. */ export declare function phoneError(value: unknown, schema: RJSFSchema, options: Record, required?: boolean): { keyword: string; message: string; schemaOwned?: boolean; } | undefined;