import * as mongoose from 'mongoose';
export declare class ComplaintAggregation {
    Match(id: any): Promise<{
        $match: {
            _id: mongoose.Types.ObjectId;
        };
    }>;
    pendingMatch(): Promise<{
        $match: {};
    }>;
    repliedMatch(): Promise<{
        $match: {
            reply: {
                $ne: any;
            };
        };
    }>;
    bookingLookup(): Promise<{
        $lookup: {
            from: string;
            let: {
                booking_id: string;
            };
            pipeline: ({
                $match: {
                    $expr: {
                        $and: {
                            $eq: string[];
                        }[];
                    };
                };
                $project?: undefined;
            } | {
                $project: {
                    _id: number;
                    booking_id: number;
                };
                $match?: undefined;
            })[];
            as: string;
        };
    }>;
    unwind_bookingLookup(): Promise<{
        $unwind: {
            path: string;
            preserveNullAndEmptyArrays: boolean;
        };
    }>;
    customerLookup(): Promise<{
        $lookup: {
            from: string;
            let: {
                customer_id: string;
            };
            pipeline: ({
                $match: {
                    $expr: {
                        $and: {
                            $eq: string[];
                        }[];
                    };
                };
                $project?: undefined;
            } | {
                $project: {
                    name: number;
                };
                $match?: undefined;
            })[];
            as: string;
        };
    }>;
    unwind_driver(): Promise<{
        $unwind: {
            path: string;
            preserveNullAndEmptyArrays: boolean;
        };
    }>;
    unwind_customer(): Promise<{
        $unwind: {
            path: string;
            preserveNullAndEmptyArrays: boolean;
        };
    }>;
    driverLookup(): Promise<{
        $lookup: {
            from: string;
            let: {
                driver_id: string;
            };
            pipeline: ({
                $match: {
                    $expr: {
                        $and: {
                            $eq: string[];
                        }[];
                    };
                };
                $project?: undefined;
            } | {
                $project: {
                    name: number;
                };
                $match?: undefined;
            })[];
            as: string;
        };
    }>;
    project(): Promise<{
        $project: {
            title: number;
            message: number;
            booking: number;
            image: number;
            reply: number;
            reply_at: number;
            created_at: number;
        };
    }>;
    ComplaintDetailproject(): Promise<{
        $project: {
            title: number;
            message: number;
            booking: number;
            image: number;
            reply: number;
            reply_at: number;
            created_at: number;
        };
    }>;
    face_set(option: any): Promise<{
        $facet: {
            count: {
                $count: string;
            }[];
            data: ({
                $sort: {
                    _id: 1 | -1;
                };
                $skip?: undefined;
                $limit?: undefined;
            } | {
                $skip: any;
                $sort?: undefined;
                $limit?: undefined;
            } | {
                $limit: any;
                $sort?: undefined;
                $skip?: undefined;
            })[];
        };
    }>;
}
