import { IStorageService } from "../../../../platform/storage/common/storage.service.js"; export interface IEditorChatUsageTelemetry { editorSessionsByProvider: string; editorMessages: number; editorMessagesWithOtherSessionInProgress: number; editorMessagesWithOtherSessionInProgressAcrossWindows: number; editorLastMessageSecondsAgo: number | undefined; } /** Best-effort editor-only usage shared across profiles and applications; overlapping window writes can lose increments. */ export declare class EditorChatUsage { private readonly storageService; constructor(storageService: IStorageService); get agentHostSessionCount(): number; recordSubmission(sessionType: string, isNewSession: boolean, otherSessionInProgress: boolean, otherWindowSessionInProgress: boolean, timestamp: number): void; private getNumber; private increment; getTelemetry(now?: number): IEditorChatUsageTelemetry; }