import { factory } from '../../../factory'; import type { AccountingReportRepo } from '../../../repo/accountingReport'; import type { AuthorizePaymentMethodActionRepo } from '../../../repo/action/authorizePaymentMethod'; import type { AssetTransactionRepo } from '../../../repo/assetTransaction'; import type { TaskRepo } from '../../../repo/task'; import type { PlaceOrderRepo } from '../../../repo/transaction/placeOrder'; interface IProcessVoidPayTransactionRepos { authorizePaymentMethodAction: AuthorizePaymentMethodActionRepo; accountingReport: AccountingReportRepo; assetTransaction: AssetTransactionRepo; task: TaskRepo; placeOrder: PlaceOrderRepo; } /** * 決済承認中止 * apiもしくはタスクから決済承認を取り消す */ declare function processVoidPayTransaction(params: factory.task.IData & { project: { id: string; }; sameAs?: { /** * 実行元タスクID */ id: string; }; }): (repos: IProcessVoidPayTransactionRepos) => Promise; export { IProcessVoidPayTransactionRepos, processVoidPayTransaction, };