/** * `@thai-qr-payment/render` — high-level SVG renderer. * * Combines `@thai-qr-payment/payload`, `@thai-qr-payment/qr`, and * `@thai-qr-payment/assets` into one entry-point: pass merchant + * amount, get an SVG card. */ import { type PromptPayRecipientType } from '@thai-qr-payment/payload'; import { type ErrorCorrectionLevel } from '@thai-qr-payment/qr'; import { type CardOptions } from './card.js'; import { type QRSvgOptions } from './matrix-svg.js'; export { renderCard } from './card.js'; export { renderQRSvg, matrixToPath } from './matrix-svg.js'; export type { CardOptions, CardTheme } from './card.js'; export type { QRSvgOptions } from './matrix-svg.js'; export interface RenderInput { recipient: string; amount?: number; recipientType?: PromptPayRecipientType; fromSatang?: boolean; /** QR error-correction level. `H` gives the best margin for logo overlays. */ errorCorrectionLevel?: ErrorCorrectionLevel; } /** * One-shot helper: build payload → encode QR → render Thai QR Payment card. * Returns the SVG string ready to ship. */ export declare function renderThaiQRPayment(input: RenderInput & Omit): string; /** * One-shot helper for callers that want only the QR (no header card). * Useful when wrapping the QR in your own design system. */ export declare function renderThaiQRPaymentMatrix(input: RenderInput & QRSvgOptions): string; //# sourceMappingURL=index.d.ts.map