import { PrismaService } from '../../prisma/prisma.service';
import { AdminSalesQueryDto } from './admin-sales.dto';
export declare class AdminSalesService {
    private prisma;
    constructor(prisma: PrismaService);
    findAll(query: AdminSalesQueryDto): Promise<{
        data: {
            id: any;
            createdAt: any;
            quantity: any;
            effectiveUnits: any;
            commissionAmount: number;
            status: any;
            product: {
                id: any;
                name: any;
                unitSaleRule: any;
                unitSaleRuleLabel: any;
            };
            vendor: {
                id: any;
                firstName: any;
                lastName: any;
                name: any;
                phone: any;
                cardNumber: any;
                email: any;
                ccp: any;
                ccpKey: any;
                rip: any;
            };
            pharmacy: {
                id: any;
                name: any;
                wilaya: any;
                commune: any;
                phone: any;
            };
            period: {
                id: any;
                startDate: any;
                endDate: any;
                type: any;
            };
        }[];
        meta: {
            total: number;
            page: number;
            limit: number;
            totalPages: number;
        };
    }>;
    findOne(id: string): Promise<any>;
    remove(id: string): Promise<{
        success: boolean;
        deleted: {
            id: string;
            createdAt: Date;
            vendorId: string;
            productId: string | null;
            productName: string;
            quantity: number;
            unitPrice: number;
            saleDate: Date;
            periodId: string | null;
        };
    }>;
    exportToExcel(query?: {
        vendorId?: string;
        pharmacyId?: string;
        startDate?: string;
        endDate?: string;
        status?: string;
        wilaya?: string;
    }): Promise<Buffer>;
}
