import { Event, IValueWithChangeEvent } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event"; import { RefCounted } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/widget/diffEditor/utils"; import { IDiffEditorOptions } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/config/editorOptions"; import { ITextModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model"; import { ContextKeyValue } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey"; export interface IMultiDiffEditorModel { readonly documents: IValueWithChangeEvent[] | "loading">; readonly contextKeys?: Record; } export interface IDocumentDiffItem { readonly original: ITextModel | undefined; readonly modified: ITextModel | undefined; readonly options?: IDiffEditorOptions; readonly onOptionsDidChange?: Event; readonly contextKeys?: Record; }