/** * Sanitizes JSON string for PostgreSQL jsonb: * - Removes problematic Unicode sequences: * - \u0000 (null character) - causes error 22P05 "unsupported Unicode escape sequence" * - \uD800-\uDFFF (unpaired surrogates) - causes "Unicode low surrogate must follow a high surrogate" * - \\uD800 (escaped-backslash + surrogate, e.g. from JS regex literals like [^\ud800-\udfff]): * removing just \uXXXX would leave a dangling backslash that creates a new invalid escape (e.g. \-) * - Escapes any remaining invalid JSON escape sequences (e.g. \v, \k, \-) */ export declare function sanitizeJsonForPg(jsonString: string): string; //# sourceMappingURL=sanitize-json.d.ts.map