@qrph/qrph
Version:
Library for parsing and encoding QRPH strings.
11 lines • 450 B
TypeScript
import type { UnstructuredEMVQRData } from "@qrph/emv-qr";
import type { QRPHData } from "./schema.js";
export declare const encodeQRPH: (data: QRPHData) => UnstructuredEMVQRData;
/**
* Encode a QRPH data object to a string to be used in a QR code.
*
* @param data - The QRPH data object to encode.
* @returns The encoded QRPH string.
*/
export declare const encodeQRPHToText: (data: QRPHData) => string;
//# sourceMappingURL=encodeQRPH.d.ts.map