import type { GTFSIOWriteOptions } from './types.d.ts'; import type { GTFSFileInfo } from '../../file-info.d.ts'; import type { GTFSFileRow } from '../../types.d.ts'; /** * Parameter for writeRecords() */ export type WriteParam = { /** GTFS file information, to be defined once. */ file: GTFSFileInfo; /** Columns (table header), to be internally altered by writeRecords(). */ columns: string[] | undefined; /** Records to be written. */ records: RowType[]; /** Output string */ output: string; }; /** * Get the initial state of write records parameters. * @param file File information * @returns Object of writeRecords parameters in the initial state */ export declare function getInitialWriteChunkParams(file: GTFSFileInfo): WriteParam; export declare function getRecordsHeader(params: WriteParam, options: GTFSIOWriteOptions): string; /** * Write records into contetn string. * @param params WriteParam */ export declare function writeRecords(params: WriteParam, options: GTFSIOWriteOptions): void; //# sourceMappingURL=writer.d.ts.map