import { GTFSAsyncIterableFeed, GTFSIterableFeed } from '../../feed/iterable.js'; import { GTFSLoadedFeed } from '../../feed/loaded.js'; /** * GTFS feed writer. * For static usage only. */ export declare class GTFSFeedWriter { private constructor(); /** * Create a zip of GTFS feed and write to the specific path. * @param feed GTFS Feed * @param path Path to output zip file */ static toZip(feed: GTFSIterableFeed | GTFSLoadedFeed, path: string): void; /** * Write GTFS feed to the specific directory path. * @param feed GTFS Feed * @param path Path to output directory * @param mkdirIfNotExists True to recursively create a directory at the path if does not exist * @returns File names without directory path, with .txt extension. */ static toDirectory(feed: GTFSIterableFeed | GTFSLoadedFeed, path: string, mkdirIfNotExists?: boolean): string[]; } /** * GTFS feed writer. * For static usage only. */ export declare class GTFSAsyncFeedWriter { private constructor(); /** * Create a zip of GTFS feed and write to the specific path. * @param feed GTFS Feed * @param path Path to output zip file */ static toZip(feed: GTFSAsyncIterableFeed | GTFSIterableFeed | GTFSLoadedFeed, path: string): Promise; /** * Write GTFS feed to the specific directory path. * @param feed GTFS Feed * @param path Path to output directory * @param mkdirIfNotExists True to recursively create a directory at the path if does not exist * @returns File names without directory path, with .txt extension. */ static toDirectory(feed: GTFSAsyncIterableFeed | GTFSIterableFeed | GTFSLoadedFeed, path: string, mkdirIfNotExists?: boolean): Promise; } //# sourceMappingURL=writer-fs.d.ts.map