import type { EftposProvider, PaymentMode, PaymentPageSchema, PaymentSchemaAction, PaymentSchemaRow } from '../../types'; /** 构建纯 loading schema。 */ export declare const buildLoadingSchema: (provider: EftposProvider, mode: PaymentMode, number: string, raw?: unknown) => PaymentPageSchema; /** 构建等待用户操作的 schema。 */ export declare const buildActionRequiredSchema: (provider: EftposProvider, mode: PaymentMode, number: string, rows: PaymentSchemaRow[], raw?: unknown) => PaymentPageSchema; /** 判断 action 是否属于签名动作组。 */ export declare const isSignatureAction: (actionType: PaymentSchemaAction['type']) => boolean; /** 根据已提交 action 过滤按钮,避免重复暴露交易推进按钮。 */ export declare const filterSubmittedActionRows: (rows: PaymentSchemaRow[], isActionSubmitted: (actionType: PaymentSchemaAction['type']) => boolean) => { items: import("../../schema").PaymentSchemaItem[]; id: string; layout?: "horizontal" | "vertical" | undefined; }[];