/**
 * src/media/pdf.ts
 * توليد المستندات — PDF and document generation using Chrome headless
 * Reports, invoices (ZATCA-style), and markdown → HTML conversion
 */
export interface InvoiceData {
    customerName: string;
    items: Array<{
        description: string;
        quantity: number;
        unitPrice: number;
    }>;
    vatRate: number;
    total: number;
    invoiceNumber: string;
    date: string;
}
/**
 * تحويل HTML إلى PDF — Convert HTML to PDF using Chrome headless
 */
export declare function generatePDF(htmlContent: string, outputPath: string): Promise<string>;
/**
 * تقرير الأعمال — Generate a styled business report PDF
 */
export declare function generateReport(tenantId: string, reportType: 'daily' | 'weekly' | 'monthly', data: {
    title?: string;
    period?: string;
    stats?: Array<{
        label: string;
        value: string | number;
    }>;
    sections?: Array<{
        title: string;
        content: string;
    }>;
    tables?: Array<{
        title: string;
        headers: string[];
        rows: Array<string[]>;
    }>;
}): Promise<string>;
/**
 * فاتورة ضريبية — Generate ZATCA-compliant invoice PDF
 */
export declare function generateInvoice(tenantId: string, invoiceData: InvoiceData): Promise<string>;
/**
 * تحويل ماركداون — Convert markdown to styled HTML with Arabic support
 * Simple parser (no external deps) — handles common markdown patterns
 */
export declare function markdownToHTML(markdown: string, rtl?: boolean): string;
//# sourceMappingURL=pdf.d.ts.map