import { LocalAccount, Log, RpcLog, type Abi } from 'viem'; import type { HexString } from '../types/index.js'; import type { MessageTypeWithSubType, OperationStatus, Signer, TransactionContext } from '../types/transaction.js'; import { CentrifugeId } from './types.js'; export declare class ChainMismatchError extends Error { expected: number; actual: number; name: string; constructor(expected: number, actual: number); } export type BatchTransactionData = { contract: HexString; data: HexString[]; value?: bigint; messages?: Record; }; export declare function wrapTransaction(title: string, ctx: TransactionContext, { contract, data: data_, value: value_, messages, }: { contract: HexString; data: HexString | HexString[]; value?: bigint; messages?: Record; }, options?: { simulate: boolean; }): AsyncGenerator; export declare function doTransaction(title: string, ctx: TransactionContext, transactionCallback: () => Promise): AsyncGenerator; export declare function doSignMessage(title: string, transactionCallback: () => Promise): AsyncGenerator; export declare function isLocalAccount(signer: Signer): signer is LocalAccount; export declare function parseEventLogs(parameters: { logs: (Log | RpcLog)[]; eventName?: string | string[]; address?: HexString | HexString[]; }): Log[]; //# sourceMappingURL=transaction.d.ts.map