import React from 'react'; import type { PaymentAmountQuote, PiPaymentEftposOpenOptions, PiPaymentUpdateInput } from '../../../sdk'; /** 金额页属性。 */ interface AmountPageProps { /** 当前打开参数。 */ options?: PiPaymentEftposOpenOptions; /** 当前 SDK quote。 */ quote?: PaymentAmountQuote; /** 更新 quote。 */ onQuoteChange: (amount: string | number, surcharge?: PiPaymentUpdateInput['surcharge']) => void; /** 确认提交。 */ onSubmit: (amount: string | number, surcharge?: PiPaymentUpdateInput['surcharge']) => void; /** 取消。 */ onCancel: () => void; /** 通知外层当前是否正在编辑手续费,以同步弹窗标题。 */ onEditingSurchargeChange?: (editing: boolean) => void; } /** eftpos 金额与手续费确认页。 */ export declare const AmountPage: ({ options, quote, onQuoteChange, onSubmit, onCancel, onEditingSurchargeChange, }: AmountPageProps) => React.JSX.Element; export {};