import { factory } from '../../../factory'; import type { IntegrationSettingRepo as Settings } from '../../../repo/setting/integration'; import type { AuthorizeInvoiceActionRepo } from '../../../repo/action/authorizeInvoice'; import type { PaymentServiceRepo } from '../../../repo/paymentService'; import type { PaymentServiceProviderRepo } from '../../../repo/paymentServiceProvider'; import type { SellerPaymentAcceptedRepo } from '../../../repo/sellerPaymentAccepted'; interface IVoidTransactionRepos { authorizeInvoiceAction: AuthorizeInvoiceActionRepo; paymentAccepted: SellerPaymentAcceptedRepo; paymentService: PaymentServiceRepo; paymentServiceProvider: PaymentServiceProviderRepo; } /** * クレジットカード決済中止 */ declare function voidTransaction(params: factory.task.voidPayment.IData): (repos: IVoidTransactionRepos, settings: Settings) => Promise; export { IVoidTransactionRepos, voidTransaction };