import type { AgentTelemetryRecord, TelemetrySummary } from '../types/index.js';
/**
 * SPEC-691: Prune expired+oversized records, then append one JSON line. Never throws.
 */
export declare function appendTelemetryRecord(projectPath: string, specId: string, record: AgentTelemetryRecord): Promise<void>;
/**
 * SPEC-691: Stream file line-by-line with readline, aggregate stats.
 * Never loads the full file into RAM.
 */
export declare function getTelemetrySummary(projectPath: string, specId: string): Promise<TelemetrySummary>;
//# sourceMappingURL=agent-telemetry.d.ts.map