interface FormatCnicOptions { separator?: string; allowLoose?: boolean; } /** * Formats a CNIC number string into 5-7-1 digit groups with an optional separator. * @param value - The CNIC value (string, number, null, or undefined). * @param opts.separator - Separator between groups (default '-'). * @param opts.allowLoose - If true, allows formatting incomplete CNICs. * @returns The formatted CNIC string, or null if invalid. */ declare const formatCnic: (value: string | number | null | undefined, opts?: FormatCnicOptions) => string | null; /** * Checks whether a value is a valid 13-digit CNIC. * @param value - The CNIC value (string, number, null, or undefined). * @returns True if the value is a valid 13-digit CNIC. */ declare const isValidCnic: (value: string | number | null | undefined) => boolean; export { formatCnic, isValidCnic };