import type { InvoiceDetails, ValidationError } from './types.js'; /** * Validates invoice details according to ZATCA requirements */ export declare function validateInvoiceDetails(details: InvoiceDetails): ValidationError[]; /** * Generate SHA-256 hash of invoice XML */ export declare function hashInvoice(xmlContent: string): string; /** * Sign the invoice hash using private key * Returns base64 encoded signature */ export declare function signInvoiceHash(invoiceHash: string, privateKey: string): string; /** * Extract public key from certificate * Returns base64 encoded public key */ export declare function extractPublicKey(certificate: string): string; /** * TLV (Tag-Length-Value) encoding for ZATCA QR */ export declare function tlvEncode(tag: number, value: string): Buffer; /** * Format amount to 2 decimal places */ export declare function formatAmount(amount: string | number): string; /** * Get current timestamp in ISO 8601 format */ export declare function getCurrentTimestamp(): string; /** * Validate VAT number format */ export declare function isValidVATNumber(vatNumber: string): boolean; //# sourceMappingURL=utils.d.ts.map