import { JISInfotextsRepository } from "../repositories/JISInfotextsRepository";
import { JISInfotextsRopidGTFSStopsRepository } from "../repositories/JISInfotextsRopidGTFSStopsRepository";
import { IJISInfotext, IJISInfotextsRopidGTFSStops } from "../../../schema-definitions/jis/models/interfaces";
import { ILogger } from "@golemio/core/dist/helpers";
import { IDatabaseConnector } from "@golemio/core/dist/helpers/data-access/postgres/IDatabaseConnector";
export declare class JISInfotextsDataService {
    private infotextsRepository;
    private infotextsRopidGTFSStopsRepository;
    private databaseConnector;
    private logger;
    constructor(infotextsRepository: JISInfotextsRepository, infotextsRopidGTFSStopsRepository: JISInfotextsRopidGTFSStopsRepository, databaseConnector: IDatabaseConnector, logger: ILogger);
    /**
     * Insert or update all given infotexts and infotextsRopidGTFSStops data. In case of an update, all attributes except for
     * `created_at` shall be overwritten. Delete all non-updated data from before the refresh.
     *
     * @param infotexts The infotexts data to be upserted
     * @param infotextsRopidGTFSStops The infotextsRopidGTFSStops data to be upserted
     */
    refreshData(infotexts: IJISInfotext[], infotextsRopidGTFSStops: IJISInfotextsRopidGTFSStops[]): Promise<void>;
}
