import type { EventBus } from '../kernel/events.js'; export interface NetworkTelemetryContext { events: EventBus; sessionId: string; traceId?: string; agentId?: string; toolCallId?: string; attemptId?: string; initiator: 'provider' | 'tool'; operationName: string; } export declare function runWithNetworkTelemetry(context: NetworkTelemetryContext, run: () => T): T; /** Installs one process-wide undici/fetch diagnostics observer, reference counted across runtimes. */ export declare function startNetworkTelemetryMonitor(): () => void; //# sourceMappingURL=network-telemetry.d.ts.map