import type { BunMariaDBConfig } from "../types"; /** * Sanitize string values ONLY for schema fields with explicit `html: true`. * Other fields (including plain text that happens to contain HTML) are left untouched. */ export default function sanitizeHtmlFields = Record>({ table, data, config, }: { table: string; data: T; config?: BunMariaDBConfig; }): T; /** * Sanitize an array of row objects for insert. */ export declare function sanitizeHtmlFieldsBatch = Record>({ table, data, config, }: { table: string; data: T[]; config?: BunMariaDBConfig; }): T[];