export declare const QUEUE_MAXSIZE = 500; export interface TelemetryEvent { tool: string; success: boolean; duration_ms: number; error_category?: string; project_hash?: string; } /** fire-and-forget 入口。disabled / endpoint 空 → 立即 return(零开销)。 */ export declare function record(event: TelemetryEvent): void; export declare function _resetForTest(): void; export declare function _queueLengthForTest(): number;