import type { PaymentMethod } from './types'; import type { SciEftposSurchargeDisplayMap, CardReader } from './types'; export declare const PAYMENT_STATUS_PAID = "paid"; export declare const PAYMENT_STATUS_VOIDED = "voided"; export declare const PAYMENT_STATUS_PENDING = "payment_pending"; export declare function isVoucherPaymentItem(payment: any): boolean; export declare function isPaidPaymentItem(payment: any): boolean; export declare function isVoidedPaymentItem(payment: any): boolean; export declare function isPendingPaymentItem(payment: any): boolean; export declare function isPendingVoucherPaymentItem(payment: any): boolean; export declare const getShopWalletPassId: (interaction: any) => Promise; export declare const reorderPaymentMethodList: (paymentMethodList: PaymentMethod[], interaction: any) => Promise; /** * 获取当前终端设备编号。失败时返回空字符串,不阻塞 checkout 主流程。 */ export declare const getCurrentDeviceNumber: (interaction: any) => Promise; /** * 查询已配对的刷卡机列表。本次只作为 surcharge 展示数据源。 */ export declare const getCardReadersWithSurcharge: () => Promise; /** * 为 SCI EFTPOS 支付方式生成独立的 surcharge 展示配置。 * 不修改 paymentMethods,避免影响支付金额、回调参数和 service_charge。 */ export declare const buildSciEftposSurchargeDisplayMap: (paymentMethods: PaymentMethod[], readers: CardReader[], deviceNumber: string) => SciEftposSurchargeDisplayMap;