/** * Serialization + download helpers for exporting SQL editor results. * * Kept dependency-free and SSR-safe: `downloadFile` no-ops outside the browser. */ /** Render a matrix as RFC-4180-style CSV with a header row. */ export declare function toCSVTable(headers: string[], rows: unknown[][]): string; /** Render rows as RFC-4180-style CSV with a header row of the given columns. */ export declare function toCSV(columns: string[], rows: Record[]): string; /** Render rows as a pretty-printed JSON array. */ export declare function toJSON(rows: Record[]): string; /** * Trigger a client-side download of `content` as a file named `name` with the * given MIME type. No-ops during SSR. */ export declare function downloadFile(name: string, mime: string, content: string): void; //# sourceMappingURL=export-utils.d.ts.map