import { type ITelemetryService } from "@cline/shared"; export interface HubDaemonTelemetry { readonly telemetry: ITelemetryService; /** Flushes pending batches and disposes the underlying provider. */ dispose(): Promise; } /** * Telemetry for the detached hub daemon process. * * The daemon hosts the `LocalRuntimeHost` that emits `task.conversation_turn` * and `task.tokens` for every hub-backed session, so without its own handle * those events are dropped entirely - sessions bill on the backend while * reporting nothing to OTel. * * The daemon is long-lived and frequently starts before the user logs in (or * outlives an account switch), so the cached Cline account id is re-resolved * periodically rather than only once at startup. */ export declare function createHubDaemonTelemetry(): HubDaemonTelemetry;