import { PrismaService } from 'src/prisma/prisma.service';
import { CreateDriverDto } from './dto/create-driver.dto';
import { UpdateDriverDto } from './dto/update-driver.dto';
export declare class DriverService {
    private prisma;
    constructor(prisma: PrismaService);
    create(createDriverDto: CreateDriverDto, user?: 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: number, perPage: number, query?: string, warehouseId?: string, user?: 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, user?: 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;
    }>;
}
