/** * Formats step-by-step a `string` value into a CNPJ (AA.AAA.AAA/AAAA-DV). * Base: 12 alphanumeric chars. DV: 2 numeric digits. * @example ```js * formatToCNPJ('128781') * //=> '12.878.1' * * formatToCNPJ('32284981000138') * //=> '32.284.981/0001-38' * * formatToCNPJ('00.0.000.00.00--00-00') * //=> '00.000.000/0000-00' * * formatToCNPJ('1A2B3C4D5E6F78') * //=> '1A.2B3.C4D/5E6F-78' * ``` * @param value - A `string` value of a CNPJ. */ declare const formatToCNPJ: (value: string) => string; export default formatToCNPJ;