import { CancellationToken } from "../../../../base/common/cancellation.js"; import { URI } from "../../../../sessions/sessions.web.main.internal.js"; import { ChatOpenSurface, IChatOpen, ChatOpenMilestone } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/chatOpenDiagnosticsService"; export interface IChatOpenDiagnosticsService { readonly _serviceBrand: undefined; /** Starts diagnostics for a host's load; the host ends them, and cancellation or disposal also ends them. */ startOpen(surface: ChatOpenSurface, resource: URI, token: CancellationToken, alreadyShown?: boolean): IChatOpen; /** Records a milestone of the loads of the chat in flight; shared loading code never starts or ends a load. */ mark(resource: URI, milestone: ChatOpenMilestone): void; /** Records whether the chat model was in memory when the loads of the chat in flight requested it. */ setModelWasLoaded(resource: URI, loaded: boolean): void; } export declare const IChatOpenDiagnosticsService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier;