type CsvMetadata = Record; type CsvData = any[]; export declare function readJson(filepath: string): T; export declare function writeJson(filepath: string, json: T): void; export declare function fromCsv(str: string): { data: T; metadata: CsvMetadata; }; export declare function toCsv(data: T, metadata?: CsvMetadata): string; export declare function toCsvMetadata(metadata: Record): string; export {}; //# sourceMappingURL=file.d.ts.map