import { IObservable } from "../../../../base/common/observable.js"; import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js"; import { IInstantiationService } from "../../../../platform/instantiation/common/instantiation.js"; import { IDiffEditorOptions } from "../../../common/config/editorOptions.js"; import { OffsetRange } from "../../../common/core/ranges/offsetRange.js"; import { DiffEditorWidget } from "../diffEditor/diffEditorWidget.js"; import { DocumentDiffItemViewModel } from "./multiDiffEditorViewModel.js"; import { IMultiDiffEditorVariantConfiguration } from "./multiDiffEditorOptions.js"; import { IVirtualizedItemBindingContext, VirtualizedItemBinding, VirtualizedItemTemplate } from "./virtualizedItemManager.js"; import { IWorkbenchUIElementFactory } from "./workbenchUIElementFactory.js"; export declare const binaryFilePlaceholderContentHeight = 100; export declare class DiffEditorItemTemplate extends VirtualizedItemTemplate { private readonly _container; private readonly _overflowWidgetsDomNode; private readonly _workbenchUIElementFactory; private readonly _variantConfiguration; private readonly _optionsOverride; private readonly _instantiationService; private readonly _viewModel; private readonly _collapsed; private readonly _editorContentHeight; readonly size: IObservable; private readonly _modifiedContentWidth; private readonly _modifiedWidth; private readonly _originalContentWidth; private readonly _originalWidth; private readonly _itemHorizontalInsets; readonly maxScroll: import("../../../../base/common/observable.js").IObservableWithChange<{ maxScroll: number; width: number; }, void>; private readonly _elements; readonly editor: DiffEditorWidget; private readonly isModifedFocused; private readonly isOriginalFocused; private readonly isBinaryFilePlaceholderFocused; readonly isFocused: import("../../../../base/common/observable.js").IObservableWithChange; private readonly _resourceLabel; private readonly _resourceLabel2; private readonly _openBinaryDiffButton; private readonly _verticalStateUpdate; private _observedEditorContentHeight; private _isSettingData; private _bindingContext; private readonly _outerEditorHeight; private readonly _contextKeyService; constructor(_container: HTMLElement, _overflowWidgetsDomNode: HTMLElement, _workbenchUIElementFactory: IWorkbenchUIElementFactory, _variantConfiguration: IMultiDiffEditorVariantConfiguration, _optionsOverride: IObservable | undefined, _instantiationService: IInstantiationService, _parentContextKeyService: IContextKeyService); setScrollLeft(left: number): void; getExpandedContentHeight(): number; private readonly _dataStore; protected createBinding(item: DocumentDiffItemViewModel, context: IVirtualizedItemBindingContext): DiffEditorItemBinding; private _runWithEditorScrollAnchor; private _getOriginalEditorLineTop; private _getModifiedEditorLineTop; private setItem; private readonly _headerHeight; render(verticalRange: OffsetRange, width: number, editorScroll: number, viewPort: OffsetRange): void; private _scheduleVerticalStateUpdate; private _flushVerticalState; hide(): void; focusBinaryFilePlaceholder(): void; unbind(item: DocumentDiffItemViewModel): void; } export declare class DiffEditorItemBinding extends VirtualizedItemBinding { private readonly _template; readonly size: IObservable; readonly maxScroll: import("../../../../base/common/observable.js").IObservableWithChange<{ maxScroll: number; width: number; }, void>; readonly shouldKeepAlive: import("../../../../base/common/observable.js").IObservableWithChange; readonly editor: DiffEditorWidget; constructor(item: DocumentDiffItemViewModel, _template: DiffEditorItemTemplate); render(renderedRange: OffsetRange, scrollOffset: number, width: number, renderedViewport: OffsetRange): void; hide(): void; setScrollLeft(scrollLeft: number): void; getExpandedContentHeight(): number; focus(): void; dispose(): void; }