import { DiffEditorViewMode } from "../../../../editor/common/config/editorOptions.js"; import { FocusTextDiffEditorMode } from "./diffEditorCommandsService.js"; export declare const IDiffEditorCommandsService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier; /** * Backs the diff-editor commands (see {@link registerDiffEditorCommands}). The Agents window * overrides this to also drive its multi-diff Changes editor. */ export interface IDiffEditorCommandsService { readonly _serviceBrand: undefined; /** Toggles inline vs. side-by-side rendering for the active diff editor. */ toggleRenderSideBySide(args: unknown[]): Promise; /** Sets the layout mode for the active diff editor. */ setViewMode(args: unknown[], mode: DiffEditorViewMode): Promise; /** Opens the original or modified side of the active diff editor, whichever has focus, as its own editor. */ openActiveDiffSide(): Promise; /** Navigates to the next or previous change in the active diff editor. */ navigateInDiffEditor(args: unknown[], next: boolean): void; /** Focuses the original, modified, or currently unfocused side of the active diff editor. */ focusInDiffEditor(args: unknown[], mode: FocusTextDiffEditorMode): void; /** Toggles whether the active diff editor ignores trim whitespace. */ toggleDiffIgnoreTrimWhitespace(args: unknown[]): Promise; /** Swaps the original and modified sides of the active diff editor. */ swapDiffSides(args: unknown[]): Promise; }