import { RopidGTFSStopTimesModel } from "../../../../ropid-gtfs/RopidGTFSStopTimesModel";
import { BlockStopsRedisRepository, RunTripsRedisRepository } from "../../../../ropid-gtfs/data-access/cache";
import { CommonRunsRepository } from "../../runs/data-access/CommonRunsRepository";
import { AbstractTask } from "@golemio/core/dist/integration-engine/workers";
import { MessageProperties } from "@golemio/core/dist/shared/amqplib";
import { PositionsRepository } from "../data-access/PositionsRepository";
import type { TripsRepository } from "../data-access/TripsRepository";
import { IUpdateGtfsTripIdInput } from "../interfaces/IUpdateGtfsTripIdInput";
import { UpdateGtfsTripIdValidationSchema } from "../schema/UpdateGtfsTripIdSchema";
export declare class UpdateGtfsTripIdTask extends AbstractTask<IUpdateGtfsTripIdInput> {
    readonly queueName = "updateGTFSTripId";
    readonly queueTtl: number;
    readonly schema: typeof UpdateGtfsTripIdValidationSchema;
    private readonly tripsRepository;
    private readonly positionsRepository;
    private readonly gtfsStopTimesRepository;
    private readonly gtfsTripRunManager;
    private readonly tripStopsManager;
    constructor(tripsRepository: TripsRepository, positionsRepository: PositionsRepository, gtfsStopTimesRepository: RopidGTFSStopTimesModel, commonRunsRepository: CommonRunsRepository, runTripsRedisRepository: RunTripsRedisRepository, blockStopsRedisRepository: BlockStopsRedisRepository);
    /**
     * Take all newly computed positions and save it, then save the last ones to the trips
     */
    protected execute(data: IUpdateGtfsTripIdInput, messageProperties?: MessageProperties): Promise<void>;
    private generateAndSaveScheduledTrips;
}
