import { CreateStaffDto, FindStaffdto } from './dto/create-staff.dto';
import { UpdateStaffDto } from './dto/update-staff.dto';
import { DbService } from 'src/db/db.service';
import { Types } from 'mongoose';
import { CommonService } from 'src/common/common.service';
export declare class StaffService {
    private readonly model;
    private readonly common;
    constructor(model: DbService, common: CommonService);
    create(body: CreateStaffDto, req: any): Promise<{
        message: string;
        data: any;
    }>;
    findAll(body: FindStaffdto): Promise<{
        data: (import("mongoose").FlattenMaps<{
            type: string;
            name: string;
            email: string;
            password: string;
            image: string;
            total_tax_pay: number;
            roles: string[];
            is_active: boolean;
            superAdmin: boolean;
            subAdmin: boolean;
            country_code: string;
            phone: string;
            timeZone: string;
            is_deleted: boolean;
            created_at: number;
            updated_at: number;
            deleted_at: number;
        }> & {
            _id: Types.ObjectId;
        } & {
            __v: number;
        })[];
        count: number;
    }>;
    findAllFleetStaff(body: FindStaffdto, req: any): Promise<{
        data: any;
        count: number;
    }>;
    dispatureDetails(id: string, req: any): Promise<{
        data: any;
    }>;
    update(id: string, body: UpdateStaffDto, req: any): Promise<{
        message: string;
        dispatcher: any;
    }>;
    remove(id: string, req: any): Promise<void>;
    update_status(id: string, req: any): Promise<{
        message: string;
        dispature: any;
    }>;
}
