import { DeparturesRepository } from "./data-access/precomputed";
import { IDatabaseConnector } from "@golemio/core/dist/helpers/data-access/postgres/IDatabaseConnector";
import { Transaction } from "@golemio/core/dist/shared/sequelize";
import { RopidGtfsMetadataRepository } from "./RopidGtfsMetadataRepository";
import { RopidGtfsRepository } from "./data-access/RopidGtfsRepository";
export declare enum DatasetEnum {
    PID_GTFS = "PID_GTFS",
    CIS_STOPS = "CIS_STOPS",
    OIS_MAPPING = "OIS_MAPPING",
    RUN_NUMBERS = "RUN_NUMBERS",
    DEPARTURES_PRESETS = "DEPARTURES_PRESETS"
}
export declare class RopidGtfsFacade {
    private ropidGtfsRepository;
    private ropidGtfsMetadataRepository;
    private departureRepository;
    private databaseConnector;
    private name;
    /** Precomputed data repositories */
    private minMaxStopSequencesRepository;
    private tripScheduleRepository;
    private servicesCalendarRepository;
    constructor(ropidGtfsRepository: RopidGtfsRepository, ropidGtfsMetadataRepository: RopidGtfsMetadataRepository, departureRepository: DeparturesRepository, databaseConnector: IDatabaseConnector);
    checkSavedTmpTables: (dataset: string, version: number) => Promise<void>;
    replaceTables: (datasetInfo: Array<{
        dataset: string;
        version: number;
    }>) => Promise<boolean>;
    private replaceStaticTables;
    replacePrecomputedTables: (t: Transaction) => Promise<void>;
}
