import type { Response } from "express";
export interface PurchaseExportRow {
    lotNo: string;
    supplier: string;
    vegetable: string;
    quantityKg: number | string;
    bags: number | string;
    weightPerBagKg: number | string;
    remainingQuantityKg: number | string;
    remainingBags: number | string;
    ratePerUnit: number | string;
    grandTotal: number | string;
    costPerKg: number | string;
    advanceAmount: number | string;
    balanceAmount: number | string;
}
/**
 * Generates a styled Purchase Excel report and streams it directly to the
 * Express Response object.
 *
 * @param rows    - Mapped purchase rows to include in the sheet.
 * @param res     - Express Response to pipe the workbook into.
 * @param filename - Optional filename (without .xlsx extension). Defaults to "purchase-report".
 */
export declare function generatePurchaseExcel(rows: PurchaseExportRow[], res: Response, filename?: string): Promise<void>;
/**
 * Maps a raw Prisma purchase record to a flat PurchaseExportRow.
 */
export declare function mapPurchaseToExportRow(item: any): PurchaseExportRow;
//# sourceMappingURL=PurchaseExcelExport.d.ts.map