import { MerchantConfigurationCSVField, Vehicle, VehicleChange } from '@bringg/types';
import StoreEntity from '../../Core/StoreEntity';
import Session from '../../Services/Identity/Session';
import { VehicleRemovedEvent, VehiclesCsvImportResponse } from '../Vehicle.consts';
export declare const Routes: {
    GET_ASSIGNMENT_HISTORY: string;
    GET_BY_TEAM: string;
    IMPORT_VEHICLES_CSV: string;
    GET_CSV_UPLOAD_FIELDS: string;
    BATCH_UPDATE: string;
    PAGED_VEHICLES: string;
    BATCH_GET: string;
};
export default class VehicleEntity extends StoreEntity<Vehicle> {
    private onVehicleUnassignedEvent;
    private vehiclesByTeam;
    constructor(session: Session);
    private subscribeToRealtime;
    onVehicleUnassigned: (fn: (unassignedEvent: Partial<VehicleRemovedEvent>) => void) => void;
    getAll(): Promise<Vehicle[]>;
    getAllByTeam(teamId: number): Promise<Vehicle[]>;
    get(id: number): Promise<Vehicle>;
    getAssignmentHistory(vehicle_id: number): Promise<VehicleChange[]>;
    importVehiclesCsv: (file: Blob) => Promise<VehiclesCsvImportResponse>;
    getCsvUploadFields(): Promise<MerchantConfigurationCSVField[]>;
}
