//#region src/format-processo-juridico/format-processo-juridico.d.ts /** Options of `formatProcessoJuridico`. */ export type FormatProcessoJuridicoOptions = { /** Whether to left pad the value with zeros up to the number of slots in the pattern (default: `false`). */ pad?: boolean; }; /** * Formats a legal process number (processo jurídico) according to a specific pattern. * * @param {string|number} value - The legal process number to be formatted. It can be a string or a number. * @param {FormatProcessoJuridicoOptions} [options] - Optional formatting options. * @param {boolean} options.pad - If true, the value will be padded with leading zeros if necessary. * @returns {string} The formatted legal process number as a string. * * @example * ```typescript * formatProcessoJuridico("00020802520125150049"); // "0002080-25.2012.5.15.0049" * ``` * * Resolução CNJ nº 65/2008 defines this Número Único de Processo layout and its check digits. * * @see Official: https://atos.cnj.jus.br/atos/detalhar/119 */ export declare const formatProcessoJuridico: (value: string | number, options?: FormatProcessoJuridicoOptions) => string; //#endregion