/** * Strips non-printable characters from a string and trims whitespace. Replaces `.trim()` at data-collection points to ensure string values contain only visible * content. Safe to call on already-clean strings — the regex replacement is a no-op when no non-printable characters are present. * @param value - The string to sanitize. * @returns The sanitized string with non-printable characters removed and whitespace trimmed. */ export declare function sanitizeString(value: string): string; /** * Tests whether a string contains any non-printable characters. Used for startup warnings when loading persisted data — the warning alerts users to corruption * without modifying the loaded values. * @param value - The string to test. * @returns True if the string contains at least one non-printable character. */ export declare function containsNonPrintable(value: string): boolean;