import type { OsmTags } from "@osmix/types"; import { type GtfsRoute, type GtfsStop, type GtfsTrip } from "./types.ts"; /** * Check if a ZIP file (as bytes) is a GTFS archive by looking for characteristic GTFS files. * GTFS archives must contain at least agency.txt, stops.txt, routes.txt, trips.txt, * and stop_times.txt according to the GTFS specification. */ export declare function isGtfsZip(bytes: Uint8Array): boolean; /** * Convert a GTFS stop to OSM tags. */ export declare function stopToTags(stop: GtfsStop): OsmTags; /** * Convert a GTFS route to OSM tags. */ export declare function routeToTags(route: GtfsRoute): OsmTags; /** * Convert a GTFS trip to OSM tags. */ export declare function tripToTags(trip: GtfsTrip): OsmTags; /** * Create a ReadableStream of text from file bytes. */ export declare function bytesToTextStream(bytes: Uint8Array): ReadableStream; //# sourceMappingURL=utils.d.ts.map