/** Strip leading whitespace; preserve trailing so the user can keep typing. */ export declare const trimLeading: (value: string) => string; /** * Keep only digits, optionally capped to `max` characters. Useful for fields * whose validators are digit-only (AU postal codes, ownership %, etc.). */ export declare const digitsOnly: (max?: number) => (value: string) => string; /** * US ZIP filter: keep digits, spaces, and hyphens (so users can type * `12345-6789` naturally) and trim leading whitespace. The trim runs after * the character filter so letters preceding a space don't strand the * space (e.g. `"abc 12-345"` → `"12-345"`, not `" 12-345"`). */ export declare const usZipFilter: (value: string) => string; /** * Foreign-TIN normalizer used by every foreign-TIN field (account holder, * regarded owner, per-residency). AU is 11 digits, US is digits-only; * everything else uppercases for canonical display. */ export declare const normalizeForeignTin: (value: string, country: string | undefined) => string;