import type { TablePlugin } from '../types/TablePlugin.js'; import { type Readable } from 'svelte/store'; export type DataExportFormat = 'object' | 'json' | 'csv'; type ExportForFormat = { object: Record[]; json: string; csv: string; }; export type DataExport = ExportForFormat[F]; export interface DataExportConfig { childrenKey?: string; format?: F; } export interface DataExportState { exportedData: Readable>; } export interface DataExportColumnOptions { exclude?: boolean; } export declare const addDataExport: ({ format, childrenKey, }?: DataExportConfig) => TablePlugin, DataExportColumnOptions>; export {};