import { PiPaymentSession } from './session'; import type { PaymentQueryResult, PiPaymentAppLike, PiPaymentCreateOptions, PiPaymentQueryOptions } from './types'; /** * 宿主级 PiPayment SDK client。 * 它只持有 runtime、管理活动 sessions,并提供 client 级 query。 */ export declare class PiPaymentSDK { /** 宿主 app-like 对象。 */ private app; /** SDK 内部 runtime。 */ private runtime; /** 当前活动 sessions。 */ private sessions; constructor(app: PiPaymentAppLike); /** 创建一笔交易流程 session。 */ create(options: PiPaymentCreateOptions): PiPaymentSession; /** 查询 payment 结果,不影响任何 session。 */ query(options: PiPaymentQueryOptions): Promise; /** 销毁 SDK client,并销毁所有活动 sessions。 */ destroy(): void; } export { PiPaymentSession }; export { EftposMethodResult, ListReaderParams, PaymentAmountQuote, PiPaymentEftposChangeEvent, PiPaymentEftposFailParams, PaymentError, PaymentPageSchema, PaymentQueryResult, PaymentReader, PaymentResult, PaymentSchemaAction, PaymentSchemaItem, PaymentSchemaRow, PaymentSummary, PaymentUnifiedResponse, PiPaymentAppLike, PiPaymentCreateOptions, PiPaymentDraftState, PiPaymentEftposOpenOptions, PiPaymentEftposPage, PiPaymentEftposProps, PiPaymentEftposRef, PiPaymentEftposSnapshot, PiPaymentEftposSuccessParams, PiPaymentLogEntry, PiPaymentLogSnapshot, PiPaymentPayParams, PiPaymentQueryOptions, PiPaymentRefundParams, PiPaymentRuntime, PiPaymentSessionEvent, PiPaymentSessionListener, PiPaymentSessionState, PiPaymentUpdateInput, WalletPassMethodResult, EftposProvider, PaymentMode, PaymentCode, PaymentProvider, PaymentRoute, PaymentSchemaActionType, PaymentUsageScene, } from './types';