import { IObservable, IObservableWithChange, ITransaction } from "../../../../base/common/observable.js"; import { IAccessibilityService } from "../../../../platform/accessibility/common/accessibility.service.js"; import { IDiffEditorOptions, IEditorOptions } from "../../../common/config/editorOptions.js"; import { DiffEditorViewModel } from "./diffEditorViewModel.js"; export type DiffEditorVariant = "default" | "compact"; export declare class DiffEditorOptions { private readonly _accessibilityService; private readonly _options; get editorOptions(): IObservableWithChange; private readonly _diffEditorWidth; private readonly _widthBasedLayout; private readonly _screenReaderMode; constructor(options: Readonly, _accessibilityService: IAccessibilityService); readonly couldShowInlineViewBecauseOfSize: IObservableWithChange; readonly renderOverviewRuler: IObservableWithChange; readonly renderSideBySideInAutomaticMode: IObservableWithChange; readonly renderSideBySide: IObservableWithChange; readonly temporaryInlineMode: IObservable; readonly readOnly: IObservableWithChange; readonly shouldRenderOldRevertArrows: IObservableWithChange; readonly shouldRenderGutterMenu: IObservableWithChange; readonly renderIndicators: IObservableWithChange; readonly enableSplitViewResizing: IObservableWithChange; readonly splitViewDefaultRatio: IObservableWithChange; readonly ignoreTrimWhitespace: IObservableWithChange; readonly maxComputationTimeMs: IObservableWithChange; readonly showMoves: IObservableWithChange; readonly isInEmbeddedEditor: IObservableWithChange; readonly diffWordWrap: IObservableWithChange<"inherit" | "off" | "on", void>; readonly originalEditable: IObservableWithChange; readonly diffCodeLens: IObservableWithChange; readonly accessibilityVerbose: IObservableWithChange; readonly diffAlgorithm: IObservableWithChange<"advanced" | "advanced-external" | "advanced-wasm" | "legacy", void>; readonly showEmptyDecorations: IObservableWithChange; readonly onlyShowAccessibleDiffViewer: IObservableWithChange; readonly compactMode: IObservableWithChange; private readonly trueInlineDiffRenderingEnabled; readonly useTrueInlineDiffRendering: IObservable; readonly hideUnchangedRegions: IObservableWithChange; readonly hideUnchangedRegionsRevealLineCount: IObservableWithChange; readonly hideUnchangedRegionsContextLineCount: IObservableWithChange; readonly hideUnchangedRegionsMinimumLineCount: IObservableWithChange; updateOptions(changedOptions: IDiffEditorOptions): void; setWidth(width: number, smoothResizeStartWidth?: number): void; resetWidthBasedLayout(tx?: ITransaction): void; private readonly _model; setModel(model: DiffEditorViewModel | undefined): void; private readonly shouldRenderInlineViewInSmartMode; readonly inlineViewHideOriginalLineNumbers: IObservableWithChange; }