import { IRefreshPublicDepartureParams } from "../../workers/timetables/tasks/interfaces/IRefreshPublicDepartureParams";
import { IPublicGtfsDepartureCacheDto } from "../../../../schema-definitions/ropid-gtfs/redis/interfaces/IPublicGtfsDepartureCacheDto";
import { RedisModel } from "@golemio/core/dist/integration-engine/models/RedisModel";
export declare class PublicGtfsDepartureRepository extends RedisModel {
    static NAMESPACE_PREFIX: string;
    constructor();
    /**
     * Save new departures for a stop and
     *   - remove all older departures
     *   - remove departures that are in the same time range as the new ones
     *     (to prevent duplicates and to keep the cache clean and up-to-date)
     */
    replaceDeparturesForStop(departures: IPublicGtfsDepartureCacheDto[], stopId: string, intervalParams: Required<IRefreshPublicDepartureParams>): Promise<void>;
}
