import { type JsonRpcApiProvider, type Log } from 'ethers'; import type { SetFieldType } from 'type-fest'; import type { LogFilter } from '../chain.ts'; import type { FinalityRequested } from '../extra-args.ts'; import type { WithLogger } from '../types.ts'; /** Tags or values which can be used as `endBlock` in {@link EVMChain.getLogs} filter */ export type EVMEndBlockTag = FinalityRequested | 'latest'; /** * Implements Chain.getLogs for EVM. * Walks logs forward from `startBlock` or `startTime`; if neither is provided, throws. * @param filter - Chain LogFilter * @param ctx - Context object containing provider, logger and optional abort signal * @returns Async iterator of logs. */ export declare function getEvmLogs(filter: SetFieldType, ctx: { provider: JsonRpcApiProvider; abort?: AbortSignal; } & WithLogger): AsyncIterableIterator; //# sourceMappingURL=logs.d.ts.map