import type { Hex } from '@metamask/utils'; import type { PendingTransactionTracker } from '../helpers/PendingTransactionTracker.js'; import type { PublishBatchHook, TransactionMeta } from '../types.js'; type SequentialPublishBatchHookOptions = { publishTransaction: (transactionMeta: TransactionMeta) => Promise; getTransaction: (id: string) => TransactionMeta; getPendingTransactionTracker: (networkClientId: string) => PendingTransactionTracker; }; /** * Custom publish logic that also publishes additional sequential transactions in a batch. * Requires the batch to be successful to resolve. */ export declare class SequentialPublishBatchHook { #private; constructor({ publishTransaction, getTransaction, getPendingTransactionTracker, }: SequentialPublishBatchHookOptions); /** * @returns The publish batch hook function. */ getHook(): PublishBatchHook; } export {}; //# sourceMappingURL=SequentialPublishBatchHook.d.ts.map