/**
 * Per-tool invocation ring buffer and health aggregator.
 *
 * Stores the last RING_SIZE durations per tool (ok + error separately).
 * Used by dispatch.ts to record each call; exposed via /api/runtime/tool-health.
 */
export declare function recordToolInvocation(toolName: string, durationMs: number, status: 'ok' | 'error'): void;
export interface ToolHealthEntry {
    toolName: string;
    p50Ms: number;
    p95Ms: number;
    errorRate: number;
    recentCount: number;
    lastSeenMs: number;
    status: 'green' | 'amber' | 'red';
}
export declare function getToolHealthSummary(): ToolHealthEntry[];
