import type { PostgresJsDatabase } from "drizzle-orm/postgres-js"; import type { CreateGroundDriverInput, CreateGroundDriverShiftInput, CreateGroundOperatorInput, CreateGroundVehicleInput, GroundDriverListQuery, GroundDriverShiftListQuery, GroundOperatorListQuery, GroundVehicleListQuery, UpdateGroundDriverInput, UpdateGroundDriverShiftInput, UpdateGroundOperatorInput, UpdateGroundVehicleInput } from "./service-shared.js"; export declare function listOperators(db: PostgresJsDatabase, query: GroundOperatorListQuery): Promise>; export declare function getOperatorById(db: PostgresJsDatabase, id: string): Promise<{ id: string; supplierId: string | null; facilityId: string | null; name: string; code: string | null; active: boolean; notes: string | null; createdAt: Date; updatedAt: Date; } | null>; export declare function createOperator(db: PostgresJsDatabase, data: CreateGroundOperatorInput): Promise<{ id: string; facilityId: string | null; notes: string | null; createdAt: Date; updatedAt: Date; name: string; code: string | null; active: boolean; supplierId: string | null; } | undefined>; export declare function updateOperator(db: PostgresJsDatabase, id: string, data: UpdateGroundOperatorInput): Promise<{ id: string; supplierId: string | null; facilityId: string | null; name: string; code: string | null; active: boolean; notes: string | null; createdAt: Date; updatedAt: Date; } | null>; export declare function deleteOperator(db: PostgresJsDatabase, id: string): Promise<{ id: string; } | null>; export declare function listVehicles(db: PostgresJsDatabase, query: GroundVehicleListQuery): Promise>; export declare function getVehicleById(db: PostgresJsDatabase, id: string): Promise<{ id: string; resourceId: string; operatorId: string | null; category: "other" | "car" | "sedan" | "suv" | "van" | "minibus" | "bus" | "boat" | "train"; vehicleClass: "other" | "economy" | "standard" | "premium" | "luxury" | "accessible"; passengerCapacity: number | null; checkedBagCapacity: number | null; carryOnCapacity: number | null; wheelchairCapacity: number | null; childSeatCapacity: number | null; isAccessible: boolean; active: boolean; notes: string | null; createdAt: Date; updatedAt: Date; } | null>; export declare function createVehicle(db: PostgresJsDatabase, data: CreateGroundVehicleInput): Promise<{ id: string; notes: string | null; createdAt: Date; updatedAt: Date; active: boolean; resourceId: string; category: "other" | "car" | "sedan" | "suv" | "van" | "minibus" | "bus" | "boat" | "train"; operatorId: string | null; vehicleClass: "other" | "economy" | "standard" | "premium" | "luxury" | "accessible"; passengerCapacity: number | null; checkedBagCapacity: number | null; carryOnCapacity: number | null; wheelchairCapacity: number | null; childSeatCapacity: number | null; isAccessible: boolean; } | undefined>; export declare function updateVehicle(db: PostgresJsDatabase, id: string, data: UpdateGroundVehicleInput): Promise<{ id: string; resourceId: string; operatorId: string | null; category: "other" | "car" | "sedan" | "suv" | "van" | "minibus" | "bus" | "boat" | "train"; vehicleClass: "other" | "economy" | "standard" | "premium" | "luxury" | "accessible"; passengerCapacity: number | null; checkedBagCapacity: number | null; carryOnCapacity: number | null; wheelchairCapacity: number | null; childSeatCapacity: number | null; isAccessible: boolean; active: boolean; notes: string | null; createdAt: Date; updatedAt: Date; } | null>; export declare function deleteVehicle(db: PostgresJsDatabase, id: string): Promise<{ id: string; } | null>; export declare function listDrivers(db: PostgresJsDatabase, query: GroundDriverListQuery): Promise>; export declare function getDriverById(db: PostgresJsDatabase, id: string): Promise<{ id: string; resourceId: string; operatorId: string | null; licenseNumber: string | null; spokenLanguages: string[]; isGuide: boolean; isMeetAndGreetCapable: boolean; active: boolean; notes: string | null; createdAt: Date; updatedAt: Date; } | null>; export declare function createDriver(db: PostgresJsDatabase, data: CreateGroundDriverInput): Promise<{ id: string; notes: string | null; createdAt: Date; updatedAt: Date; active: boolean; resourceId: string; operatorId: string | null; licenseNumber: string | null; spokenLanguages: string[]; isGuide: boolean; isMeetAndGreetCapable: boolean; } | undefined>; export declare function updateDriver(db: PostgresJsDatabase, id: string, data: UpdateGroundDriverInput): Promise<{ id: string; resourceId: string; operatorId: string | null; licenseNumber: string | null; spokenLanguages: string[]; isGuide: boolean; isMeetAndGreetCapable: boolean; active: boolean; notes: string | null; createdAt: Date; updatedAt: Date; } | null>; export declare function deleteDriver(db: PostgresJsDatabase, id: string): Promise<{ id: string; } | null>; export declare function listDriverShifts(db: PostgresJsDatabase, query: GroundDriverShiftListQuery): Promise | null; createdAt: Date; updatedAt: Date; }>>; export declare function getDriverShiftById(db: PostgresJsDatabase, id: string): Promise<{ id: string; driverId: string; operatorId: string | null; facilityId: string | null; startsAt: Date; endsAt: Date; status: "cancelled" | "available" | "completed" | "scheduled" | "on_duty"; notes: string | null; metadata: Record | null; createdAt: Date; updatedAt: Date; } | null>; export declare function createDriverShift(db: PostgresJsDatabase, data: CreateGroundDriverShiftInput): Promise<{ id: string; facilityId: string | null; startsAt: Date; endsAt: Date; status: "cancelled" | "available" | "completed" | "scheduled" | "on_duty"; notes: string | null; createdAt: Date; updatedAt: Date; metadata: Record | null; operatorId: string | null; driverId: string; } | undefined>; export declare function updateDriverShift(db: PostgresJsDatabase, id: string, data: UpdateGroundDriverShiftInput): Promise<{ id: string; driverId: string; operatorId: string | null; facilityId: string | null; startsAt: Date; endsAt: Date; status: "cancelled" | "available" | "completed" | "scheduled" | "on_duty"; notes: string | null; metadata: Record | null; createdAt: Date; updatedAt: Date; } | null>; export declare function deleteDriverShift(db: PostgresJsDatabase, id: string): Promise<{ id: string; } | null>;