import type { MetricEntry } from "../utils/types.js"; export declare class MetricsCollector { private readonly metricsPath; private telemetryClient; constructor(twiningDir: string); /** Set an optional telemetry client to forward sanitized events */ setTelemetryClient(client: TelemetryClientLike): void; /** Record a tool call metric. Fire-and-forget — never throws. */ record(entry: MetricEntry): Promise; } /** Minimal interface for telemetry client to avoid circular imports */ export interface TelemetryClientLike { trackToolCalled(toolName: string, durationMs: number, success: boolean): void; } //# sourceMappingURL=metrics-collector.d.ts.map