import type { Agent, AgentEvent, EventWatcher, WatchEventsOptions } from "../types.mjs"; /** Creates a lazy, terminal watcher for an Agent's ordered event stream. */ export function watch(agent: Agent, options?: watch.Options): watch.ReturnType; export declare namespace watch { type OnEventFn = (event: AgentEvent) => void; type Options = WatchEventsOptions; type ReturnType = EventWatcher; type Watcher = EventWatcher; }