UNPKG

emvco-qr-sdk

Version:

A robust TypeScript SDK for decoding, validating, and processing EMVCo-compliant QR codes used in digital payment systems.

10 lines (9 loc) 386 B
/** * Checks if a string appears to be in a valid TLV format (superficial validation). * * This does NOT guarantee the entire structure is valid — it only checks the initial pattern. * * @param tlv - The raw string to validate. * @returns True if the string starts with a valid TLV structure, false otherwise. */ export declare function isValidTLVFormat(tlv: string): boolean;