import { IGeoMeasurementHelper } from "../../../../../helpers/geo/interfaces/IGeoMeasurementHelper";
import { IVPTripsPositionAttributes } from "../../../../../schema-definitions/vehicle-positions/models/interfaces/IVPTripsPositionAttributes";
import { ISimpleConfig } from "@golemio/core/dist/helpers/configuration/ISimpleConfig";
import { GTFSRouteTypeEnum } from "../../../../../helpers/RouteTypeEnums";
import { IComputationTrip, IPositionToUpdate } from "../interfaces/VPInterfaces";
export declare class ValidToCalculator {
    private geoHelper;
    private readonly defaultAdditionInMs;
    private readonly canceledAdditionInMs;
    constructor(simpleConfig: ISimpleConfig, geoHelper: IGeoMeasurementHelper);
    /**
     * Calculates valid_to attribute value for updateDelay worker
     */
    getValidToAttribute: (positionToUpdate: IPositionToUpdate, tripPositionAttributes: IVPTripsPositionAttributes, gtfsRouteType: GTFSRouteTypeEnum, gtfsData: IComputationTrip, startTimestamp: number) => Date;
    /**
     * Calculate default valid_to attribute
     * return 5 minutes + `origin_timestamp`
     */
    getDefaultValidToAttribute: (origin_timestamp: Date) => Date;
    /**
     * Calculate canceled valid_to attribute
     * return 6 hours + `origin_timestamp`
     */
    private getCanceledValidToAttribute;
}
