import { Fleet, FleetConfigData, FleetQuote, FleetType, OpenFleetCreationData, TaskRelatedFleet } from '@bringg/types';
import Session from '../Services/Identity/Session';
import { FleetResponse } from './Fleets.consts';
export default class Fleets {
    private fleetsEntity;
    constructor(session: Session);
    getAll(): Promise<Fleet[]>;
    getById(id: number): Promise<Fleet>;
    getByTask(taskId: number): Promise<TaskRelatedFleet[]>;
    askForQuote(taskId: number, fleetId: number): Promise<FleetQuote>;
    getAllConfigs(): Promise<Fleet[]>;
    create(type: FleetType, data?: FleetConfigData | OpenFleetCreationData): Promise<FleetResponse>;
    update(id: number, data: FleetConfigData): Promise<FleetResponse>;
    delete(id: number): Promise<boolean>;
}
