import { Disposable } from "../../../../base/common/lifecycle.js"; import { ILogService } from "../../../../platform/log/common/log.service.js"; import type { IChatSession } from "./chatSessionsService.js"; import type { IChatModel } from "./model/chatModel.js"; type TraceEvent = "contentRequested" | "historyStarted" | "historyReady" | "historyCancelled" | "historyFailed" | "liveProviderReady" | "liveStarted" | "liveReady" | "liveFailed" | "liveCancelled" | "contentReady" | "promoted" | "discarded" | "modelReady" | "modelReused" | "widgetBound" | "firstRender" | "disposed"; /** * Temporary local diagnostics; no content, resource identities, or uploaded telemetry. * Record DevTools Performance before opening to retain User Timing events after mark cleanup. */ export declare class CloudSandboxSessionTrace extends Disposable { private readonly logService; readonly id: string; private readonly watch; private readonly marks; constructor(logService: ILogService); static get(target: IChatSession | IChatModel): CloudSandboxSessionTrace | undefined; associate(target: IChatSession | IChatModel): void; record(event: TraceEvent, details?: Readonly>): void; dispose(): void; } export {};