/** * ToolsRecorder — forwards `agentfootprint.tools.*` emits to the dispatcher. * * Pattern: Factory over EmitBridge. * Role: Bridges tool-domain events. Today: discovery_failed (emitted by * buildToolsSlot when an external `ToolProvider.list(ctx)` throws * or rejects). The other tools.* events (offered/activated/ * deactivated) are declared in the registry for consumer code * that wants to emit them; the same prefix bridge forwards all * of them. * Emits: agentfootprint.tools.offered / tools.activated / tools.deactivated * / tools.discovery_failed */ import { EmitBridge, type EmitBridgeOptions } from './EmitBridge.js'; export type ToolsRecorderOptions = Omit & { readonly id?: string; }; export declare function toolsRecorder(options: ToolsRecorderOptions): EmitBridge;