/** * Truncates the raw value to `maxLength` characters. Counts every character of the raw * (post-sanitization, pre-format) string - digits, decimal separator, and a leading `-`. * * If truncation would leave a trailing decimal separator or a bare `-`, those are stripped * so the result is never a malformed intermediate state purely from the truncation itself. */ export declare function truncateToMaxLength(value: string, maxLength: number, decimalSeparator?: string): string;