import { Result } from '@fgv/ts-utils'; import { FileTree } from '@fgv/ts-json-base'; import { CsvOptions } from './csvHelpers'; /** * Reads a CSV file from a supplied path. * @param srcPath - Source path from which the file is read. * @param options - optional parameters to control the processing * @returns The contents of the file. * @beta */ export declare function readCsvFileSync(srcPath: string, options?: CsvOptions): Result; /** * Reads a CSV file from a FileTree. * @param fileTree - The FileTree to read from. * @param filePath - Path of the file within the tree. * @param options - optional parameters to control the processing * @returns The parsed CSV data. * @beta */ export declare function readCsvFromTree(fileTree: FileTree.FileTree, filePath: string, options?: CsvOptions): Result; //# sourceMappingURL=csvFileHelpers.d.ts.map