import React from 'react'; import type { PiPaymentEftposResultState } from '../hooks/useFlow'; import { type PiPaymentEftposOpenOptions } from '../../../sdk'; /** eftpos 失败页属性。 */ interface FailPageProps { /** 当前失败状态。 */ resultState?: PiPaymentEftposResultState; /** 重试当前 session。 */ onRetry: () => void; /** 进入手动标记页。 */ onManual: () => void; /** 关闭弹窗。 */ onClose: () => void; /** 当前打开参数。 */ options?: PiPaymentEftposOpenOptions; /** 超时打印兜底小票。 */ onPrintTimeout: () => void; } /** eftpos 失败页,保留旧流程中的重试、手动标记和关闭入口。 */ export declare const FailPage: ({ resultState, onRetry, onManual, onClose, options, onPrintTimeout, }: FailPageProps) => React.JSX.Element; export {};