import { DbService } from 'src/db/db.service';
import { CommonService } from 'src/common/common.service';
import mongoose from 'mongoose';
export declare class HandoverNotificationService {
    private readonly model;
    private readonly commonService;
    constructor(model: DbService, commonService: CommonService);
    createHandoverRecord(orderId: string, customerId: string, previousDriverId: string, previousDriverLocation: {
        latitude: string;
        longitude: string;
        address: string;
    }, newDriverId: string | null, candidateDriverIds: string[]): Promise<mongoose.Document<unknown, {}, import("./schema/order-handover.schema").OrderHandover, {}, {}> & import("./schema/order-handover.schema").OrderHandover & {
        _id: mongoose.Types.ObjectId;
    } & {
        __v: number;
    }>;
    sendHandoverRequestToDrivers(handoverId: string, driverIds: string[]): Promise<{
        message: string;
        handover_id: any;
        notified_drivers_count: number;
    }>;
    findEligibleHandoverDrivers(orderDetail: any, previousDriverId: string, isRetry?: boolean): Promise<any[]>;
    getActiveHandoverForDriver(driverId: string): Promise<any>;
}
