import { ThemeIcon } from "../../../../base/common/themables.js"; import { URI } from "../../../../base/common/uri.js"; import { EditorInputCapabilities, IEditorSerializer, IUntypedEditorInput, Verbosity } from "../../../../workbench/common/editor.js"; import { EditorInput } from "../../../../workbench/common/editor/editorInput.js"; import { IInstantiationService } from "../../../../platform/instantiation/common/instantiation.js"; import { MultiDiffEditorInput } from "../../../../workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js"; import { MultiDiffEditorViewModel } from "../../../../editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js"; import { IWorkbenchLayoutService } from "../../../../workbench/services/layout/browser/layoutService.service.js"; import { DockedEditorInput } from "../../../common/dockedEditorInput.js"; import { ISessionChangesService } from "../common/sessionChangesService.service.js"; /** * Editor input for the Agents window Changes tab. It wraps the session's * multi-diff source and exposes the resolved multi-diff view model so the * {@link SessionChangesEditor} can render the diffs beneath its own header. */ export declare class SessionChangesEditorInput extends DockedEditorInput { readonly multiDiffSource: URI; private readonly instantiationService; private readonly sessionChangesService; private readonly layoutService; static readonly ID = "workbench.input.agentSessions.sessionChanges"; static readonly EDITOR_ID = "workbench.editor.agentSessions.sessionChanges"; private readonly _innerInput; constructor(multiDiffSource: URI, instantiationService: IInstantiationService, sessionChangesService: ISessionChangesService, layoutService: IWorkbenchLayoutService); get resource(): URI; get typeId(): string; get editorId(): string; get capabilities(): EditorInputCapabilities; getName(): string; getAriaLabel(): string; getLabelExtraClasses(): string[]; getIcon(): ThemeIcon; getTitle(_verbosity?: Verbosity): string; private get innerInput(); /** * The wrapped multi-diff input, whose {@link MultiDiffEditorInput.resources} * expose the session's individual file diffs. Used to resolve the session's * files (e.g. for the agent feedback affordances) from this editor input. */ get multiDiffInput(): MultiDiffEditorInput; getViewModel(): Promise; clear(): void; matches(otherInput: EditorInput | IUntypedEditorInput): boolean; } export declare class SessionChangesEditorSerializer implements IEditorSerializer { canSerialize(editorInput: EditorInput): editorInput is SessionChangesEditorInput; serialize(editorInput: EditorInput): string | undefined; deserialize(instantiationService: IInstantiationService, serializedEditor: string): EditorInput | undefined; }