/**
 * src/integrations/zatca/tlv.ts
 * TLV (Tag-Length-Value) encoder for ZATCA Phase 1 QR codes.
 *
 * Per ZATCA simplified-tax-invoice spec, the QR carries 5 tags:
 *   1: Seller name (UTF-8)
 *   2: Seller VAT registration number
 *   3: Invoice timestamp (ISO 8601, with timezone)
 *   4: Invoice total with VAT (string, 2 decimal places)
 *   5: VAT total (string, 2 decimal places)
 *
 * Phase-1 length encoding is single-byte (max 255 bytes per value), which is
 * fine for typical seller names. Phase 2 adds tags 6–8 (cryptographic stamp,
 * signature, public key) — those land when the signing module ships.
 */
export type Phase1QRFields = {
    sellerName: string;
    sellerVatNumber: string;
    invoiceTimestamp: string;
    totalWithVat: string;
    vatTotal: string;
};
/** Build the Phase-1 QR payload as a base64-encoded TLV blob. */
export declare function buildPhase1QrPayload(fields: Phase1QRFields): string;
//# sourceMappingURL=tlv.d.ts.map