import { Annotated, ProtocolType } from '@hyperlane-xyz/utils'; import { ProtocolTypedProvider, ProtocolTypedReceipt, ProtocolTypedTransaction } from '../../ProviderType.js'; import { TxSubmitterType } from './TxSubmitterTypes.js'; export interface TxSubmitterInterface { /** * Defines the type of tx submitter. */ txSubmitterType: TSubmitterType; /** * The provider to use for transaction submission. */ provider?: ProtocolTypedProvider['provider']; /** * Should execute all transactions and return their receipts. * @param txs The array of transactions to execute */ submit(...txs: Annotated['transaction']>[]): Promise['receipt'] | ProtocolTypedReceipt['receipt'][] | void>; } //# sourceMappingURL=TxSubmitterInterface.d.ts.map