import { DLocalIdentityRule } from './types'; export declare const CPF_CNPJ_MAX_LENGTH: number; /** Uppercases and removes everything except [0-9A-Z]. This is the value sent to the backend. */ export declare function normalizeCpfCnpj(value: string): string; /** * Decides the document type while typing. Looks at the raw (masked) value because * the separators the user typed are also a hint. */ export declare function detectCpfCnpj(value: string): 'CPF' | 'CNPJ' | null; export declare function formatCpfCnpjMask(value: string): string; export declare function isValidCPF(value: string): boolean; export declare function isValidCNPJ(value: string): boolean; export declare function isValidCpfCnpj(value: string): boolean; export declare const BR: DLocalIdentityRule;