import { Context, Effect, Layer, Stream } from "effect"; import type { Abi, Address } from "viem"; import type { ClientNotFoundError, EventWatchError } from "../core/index.js"; import { PublicClientService } from "../core/index.js"; import type { DecodedEvent } from "../events/index.js"; import { EventStream } from "../events/index.js"; import type { ContractEventName } from "../types/index.js"; export type ReliableWatchParams> = { chainId: number; address?: Address; abi: TAbi; eventName: TEventName; fromBlock?: bigint; pollingInterval?: number; confirmations?: number; }; export type ReliableEventStreamShape = { readonly watch: >(params: ReliableWatchParams) => Effect.Effect, EventWatchError>, ClientNotFoundError>; }; declare const ReliableEventStream_base: Context.TagClass; export declare class ReliableEventStream extends ReliableEventStream_base { } export declare const ReliableEventStreamLive: Layer.Layer; export {}; //# sourceMappingURL=reliable-stream.d.ts.map