import type { TransactionController } from '../index.js'; import type { PublishHook, TransactionMeta } from '../types.js'; /** * Custom publish logic that also publishes additional transactions in an batch. * Requires the batch to be successful to resolve. */ export declare class ExtraTransactionsPublishHook { #private; constructor({ addTransactionBatch, getTransaction, originalPublishHook, }: { addTransactionBatch: TransactionController['addTransactionBatch']; getTransaction: (transactionId: string) => TransactionMeta; originalPublishHook: PublishHook; }); /** * @returns The publish hook function. */ getHook(): PublishHook; } //# sourceMappingURL=ExtraTransactionsPublishHook.d.ts.map