import { type IBaseDirector } from '@unchainedshop/utils'; import { type IPaymentActions, type IPaymentAdapter, type PaymentContext } from './PaymentAdapter.ts'; import type { PaymentProvider } from '@unchainedshop/core-payment'; import { type Order, type OrderPayment } from '@unchainedshop/core-orders'; export type IPaymentDirector = IBaseDirector & { confirmOrderPayment: (order: Order, paymentContext: { transactionContext: any; userId: string; }, unchainedAPI: any) => Promise; cancelOrderPayment: (order: Order, paymentContext: { transactionContext: any; userId: string; }, unchainedAPI: any) => Promise; chargeOrderPayment: (order: Order, context: { transactionContext: any; userId: string; }, unchainedAPI: any) => Promise; actions: (paymentProvider: PaymentProvider, paymentContext: PaymentContext, unchainedAPI: any) => Promise; }; export declare const PaymentDirector: IPaymentDirector;