import { GTFSRealtimeEntity } from './entity';
import { GTFSRealtimeHeader } from './header';
export * from './stop';
export * from './trip';
export * from './alert';
export * from './entity';
export * from './header';
export * from './position';
export * from './shape';
export * from './util';
export * from './vehiclePosition';
/**
 * # GTFS Realtime message.
 *
 * ## Description
 * The input is a Uint8Array that has encoded protobuffer messages.
 * @see {@link Protobuf}.
 *
 * The contents of a feed message.
 * A feed is a continuous stream of feed messages. Each message in the stream is
 * obtained as a response to an appropriate HTTP GET request.
 * A realtime feed is always defined with relation to an existing GTFS feed.
 * All the entity ids are resolved with respect to the GTFS feed.
 * Note that "required" and "optional" as stated in this file refer to Protocol
 * Buffer cardinality, not semantic cardinality.  See reference.md at
 * https://github.com/google/transit/tree/master/gtfs-realtime for field
 * semantic cardinality.
 *
 * ## Usage
 *
 * ```ts
 * import { GTFSRealtimeReader } from 's2-tools';
 *
 * const gtfsRealtimeReader = new GTFSRealtimeReader(data);
 * const { header, entities } = gtfsRealtimeReader;
 * for (const entity of entities) {
 *   console.log(entity);
 * }
 * ```
 */
export declare class GTFSRealtimeReader {
    #private;
    header: GTFSRealtimeHeader;
    entities: GTFSRealtimeEntity[];
    /**
     * @param data - the input data to parse
     * @param end - the size of the data, leave blank to parse the entire data
     */
    constructor(data: Uint8Array, end?: number);
}
//# sourceMappingURL=index.d.ts.map