import { Dimension } from "../../../../base/browser/dom.js"; import { Event } from "../../../../base/common/event.js"; import { Disposable } from "../../../../base/common/lifecycle.js"; import { URI } from "../../../../base/common/uri.js"; import { IInstantiationService } from "../../../../platform/instantiation/common/instantiation.js"; import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js"; import { Range } from "../../../common/core/range.js"; import { IDiffEditor } from "../../../common/editorCommon.js"; import { ICodeEditor } from "../../editorBrowser.js"; import { DiffEditorWidget } from "../diffEditor/diffEditorWidget.js"; import { IDocumentDiffItem, IMultiDiffEditorModel } from "./model.js"; import { MultiDiffEditorViewModel } from "./multiDiffEditorViewModel.js"; import { IMultiDiffEditorViewState, IMultiDiffResourceId } from "./multiDiffEditorWidgetImpl.js"; import { IWorkbenchUIElementFactory } from "./workbenchUIElementFactory.js"; export declare class MultiDiffEditorWidget extends Disposable { private readonly _element; private readonly _workbenchUIElementFactory; private readonly _instantiationService; private readonly _dimension; private readonly _viewModel; private readonly _widgetImpl; constructor(_element: HTMLElement, _workbenchUIElementFactory: IWorkbenchUIElementFactory, _instantiationService: IInstantiationService); reveal(resource: IMultiDiffResourceId, options?: RevealOptions): void; createViewModel(model: IMultiDiffEditorModel): MultiDiffEditorViewModel; setViewModel(viewModel: MultiDiffEditorViewModel | undefined): void; layout(dimension: Dimension): void; private readonly _activeControl; getActiveControl(): DiffEditorWidget | undefined; readonly onDidChangeActiveControl: Event; getViewState(): IMultiDiffEditorViewState; setViewState(viewState: IMultiDiffEditorViewState): void; tryGetCodeEditor(resource: URI): { diffEditor: IDiffEditor; editor: ICodeEditor; } | undefined; getRootElement(): HTMLElement; getContextKeyService(): IContextKeyService; getScopedInstantiationService(): IInstantiationService; findDocumentDiffItem(resource: URI): IDocumentDiffItem | undefined; goToNextChange(): void; goToPreviousChange(): void; } export interface RevealOptions { range?: Range; highlight: boolean; }