import { URI } from "../../../../../base/common/uri.js"; import { ITextModel } from "../../../../../editor/common/model.js"; import { IModelService } from "../../../../../editor/common/services/model.service.js"; import { ITextModelContentProvider } from "@codingame/monaco-vscode-model-service-override/vscode/vs/editor/common/services/resolverService"; import { IChatEditingService } from "../../common/editing/chatEditingService.service.js"; export declare class ChatEditingTextModelContentProvider implements ITextModelContentProvider { private readonly _chatEditingService; private readonly _modelService; static readonly scheme = "chat-editing-text-model"; static getFileURI(chatSessionResource: URI, documentId: string, path: string): URI; constructor(_chatEditingService: IChatEditingService, _modelService: IModelService); provideTextContent(resource: URI): Promise; } export declare class ChatEditingSnapshotTextModelContentProvider implements ITextModelContentProvider { private readonly _chatEditingService; private readonly _modelService; static getSnapshotFileURI(chatSessionResource: URI, requestId: string | undefined, undoStop: string | undefined, path: string, scheme: string, authority: string): URI; /** * Recovers the URI of the real file that a snapshot URI (as produced by * {@link getSnapshotFileURI}) was taken from, so callers can open the file * itself instead of a read-only snapshot. Returns the resource unchanged if * it is not a snapshot URI, or `undefined` if the origin cannot be recovered * (e.g. snapshot URIs persisted before the origin was recorded). */ static getOriginalFileURI(resource: URI): URI | undefined; constructor(_chatEditingService: IChatEditingService, _modelService: IModelService); provideTextContent(resource: URI): Promise; }