import { DriverService } from './driver.service';
import { CreateDriverDto } from './dto/create-driver.dto';
import { UpdateDriverDto } from './dto/update-driver.dto';
export declare class DriverController {
    private readonly driverService;
    constructor(driverService: DriverService);
    create(createDriverDto: CreateDriverDto, req?: any): Promise<{
        warehouseId: string | null;
        id: string;
        createdAt: Date;
        updatedAt: Date;
        name: string;
        contactNumber: string | null;
        drivingLicense: string | null;
        hazardousMaterialLicense: string | null;
    } | undefined>;
    findAll(page: string, limit: string, query?: string, warehouseId?: string, req?: any): Promise<{
        items: ({
            warehouse: {
                name: string;
            } | null;
        } & {
            warehouseId: string | null;
            id: string;
            createdAt: Date;
            updatedAt: Date;
            name: string;
            contactNumber: string | null;
            drivingLicense: string | null;
            hazardousMaterialLicense: string | null;
        })[];
        pagination: {
            total: number;
            per_page: number;
            current_page: number;
            last_page: number;
        };
    }>;
    findOne(id: string): Promise<{
        warehouse: {
            name: string;
        } | null;
    } & {
        warehouseId: string | null;
        id: string;
        createdAt: Date;
        updatedAt: Date;
        name: string;
        contactNumber: string | null;
        drivingLicense: string | null;
        hazardousMaterialLicense: string | null;
    }>;
    update(id: string, updateDriverDto: UpdateDriverDto, req?: any): Promise<{
        warehouseId: string | null;
        id: string;
        createdAt: Date;
        updatedAt: Date;
        name: string;
        contactNumber: string | null;
        drivingLicense: string | null;
        hazardousMaterialLicense: string | null;
    } | undefined>;
    remove(id: string): Promise<{
        warehouseId: string | null;
        id: string;
        createdAt: Date;
        updatedAt: Date;
        name: string;
        contactNumber: string | null;
        drivingLicense: string | null;
        hazardousMaterialLicense: string | null;
    }>;
}
