import type { PaymentConfiguration } from '@unchainedshop/core-payment'; import { type PaymentContext, type PaymentChargeActionResult } from '../core-index.ts'; export default function registerInvoicePayment({ adapterId, active, payLaterAllowed, charge, }: { adapterId: string; active?: boolean; payLaterAllowed?: boolean; charge: false | ((configuration: PaymentConfiguration, context: PaymentContext) => Promise); }): void;