import type { Network } from "../network/Network.js"; import type { ResultsFactory } from "../results/ResultsFactory.js"; import type { StopID } from "@gb-transit/gtfs-loader"; import type { Journey } from "../results/Journey.js"; import type { JourneyFilter } from "../results/filter/JourneyFilter.js"; /** * Use the Raptor algorithm to generate a full day of results. */ export declare class RangeQuery { readonly network: Network; readonly resultsFactory: ResultsFactory; readonly maxSearchDays: number; private readonly filters; private readonly ONE_DAY; private readonly groupQuery; constructor(network: Network, resultsFactory: ResultsFactory, maxSearchDays?: number, filters?: JourneyFilter[]); /** * Perform a query at midnight, and then continue to search one minute after the earliest departure of each set of * results. */ plan(origin: StopID, destination: StopID, date: Date, time?: number, endTime?: number): Journey[]; }