import { Event, IValueWithChangeEvent } from "../../../../base/common/event.js"; import { URI } from "../../../../base/common/uri.js"; import { RefCounted } from "../diffEditor/utils.js"; import { IDiffEditorOptions } from "../../../common/config/editorOptions.js"; import { ITextModel } from "../../../common/model.js"; import { ContextKeyValue } from "../../../../platform/contextkey/common/contextkey.js"; export interface IMultiDiffEditorModel { readonly documents: IValueWithChangeEvent[] | "loading">; readonly contextKeys?: Record; } /** * A resource participating on one side of a document diff. */ export declare class DiffItemSource { readonly uri: URI; readonly textModel: ITextModel | undefined; constructor(uri: URI, textModel: ITextModel | undefined); } export interface IDocumentDiffItem { /** * undefined if the file was created. */ readonly original: DiffItemSource | undefined; /** * undefined if the file was deleted. */ readonly modified: DiffItemSource | undefined; readonly options?: IDiffEditorOptions; readonly onOptionsDidChange?: Event; readonly contextKeys?: Record; }