import type { AgentRunEventSink } from "./model-call-context.js"; /** Return the run event sink scoped to the current execution, if configured. */ export declare function getActiveRunEventSink(): AgentRunEventSink | undefined; /** Return the independently scoped mandatory and public sink lanes. */ export declare function getActiveRunEventSinks(): { mandatory: AgentRunEventSink | undefined; public: AgentRunEventSink | undefined; }; /** Scope an operation to a run event sink. */ export declare function runWithRunEventSink(sink: AgentRunEventSink, operation: () => T): T; /** Scope an operation to a mandatory run event sink without displacing public observers. */ export declare function runWithMandatoryRunEventSink(sink: AgentRunEventSink, operation: () => T): T; /** Keep a sink active while a lazy async iterable is consumed. */ export declare function scopeAsyncIterableWithRunEventSink(sink: AgentRunEventSink, source: AsyncIterable): AsyncIterable; /** Keep a mandatory sink active while a lazy async iterable is consumed. */ export declare function scopeAsyncIterableWithMandatoryRunEventSink(sink: AgentRunEventSink, source: AsyncIterable): AsyncIterable; //# sourceMappingURL=run-event-sink-context.d.ts.map