/** * Internal Indexing Utilities * * Performance optimizations for fast metric lookups */ import type { AgentMetrics, ToolMetrics, LatencyMetrics, RequestTimingMetrics } from './types'; /** * Index for fast lookups by context ID */ export interface ContextIndex { agents: Map; tools: Map; latency: Map; requestTimings: Map; } /** * Create an index from metrics arrays */ export declare function createContextIndex(agents: AgentMetrics[], tools: ToolMetrics[], latency: LatencyMetrics[], requestTimings: RequestTimingMetrics[]): ContextIndex; /** * Index for fast lookups by agent ID */ export interface AgentIndex { agents: Map; } /** * Create an index of agents by agentId */ export declare function createAgentIndex(agents: AgentMetrics[]): AgentIndex; /** * Index for fast lookups by tool name */ export interface ToolIndex { tools: Map; } /** * Create an index of tools by toolName */ export declare function createToolIndex(tools: ToolMetrics[]): ToolIndex; //# sourceMappingURL=indexing.d.ts.map