global.d.ts (1538B)
1 /* 2 This file is part of GNU Taler 3 (C) 2026 Taler Systems S.A. 4 5 GNU Taler is free software; you can redistribute it and/or modify it under the 6 terms of the GNU Affero General Public License as published by the Free Software 7 Foundation; either version 3, or (at your option) any later version. 8 9 GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY 10 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 11 A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. 12 13 You should have received a copy of the GNU Affero General Public License along with 14 GNU Anastasis; see the file COPYING. If not, see <http://www.gnu.org/licenses/> 15 */ 16 17 declare const QR_WIDTH: number; 18 declare const QR_HEIGHT: number; 19 declare const I18N_PAYMENT_CONFIRMED_LOADING: string; 20 declare const I18N_PAYMENT_CONFIRMED_PROBLEM: string; 21 declare const I18N_PAYMENT_CONFIRMED_ERROR: string; 22 declare const I18N_PAYMENT_CONFIRMED_NO_ORDER: string; 23 declare const I18N_PAYMENT_NETWORK_PROBLEM: string; 24 declare const MERCHANT_BACKEND: string; 25 declare const MERCHANT_TEMPLATE_ID: string; 26 declare const MAX_PICKUP_DELAY: number; 27 declare const TEMPLATE_SUMMARY: string; 28 declare const TEMPLATE_CHOICES: string; 29 declare const POLL_WAIT_MS: number; 30 31 declare class QRCode { 32 constructor(el: HTMLElement | null, options: { 33 text: string; 34 width: number; 35 height: number; 36 correctLevel: number; 37 }); 38 static CorrectLevel: { 39 L: number; 40 M: number; 41 Q: number; 42 H: number; 43 }; 44 }