import { IObservable } from "../../../../base/common/observable.js"; import { ISessionFileChange, ISessionChangesSummary, ISessionChangeset, ISessionChangesetOperation } from "../../../services/sessions/common/session.js"; import { URI } from "../../../sessions.web.main.internal.js"; import { ChangesViewMode } from "./changes.js"; import { ActiveSessionState, IChangesViewSectionCollapseState, ChangesViewSection, IChangesDetailsViewStateTransfer, IChangesDetailsViewState } from "./changesViewService.js"; export declare const IChangesViewService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier; export interface IChangesViewService { readonly _serviceBrand: undefined; readonly activeSessionResourceObs: IObservable; readonly activeSessionTypeObs: IObservable; readonly activeSessionIsVirtualWorkspaceObs: IObservable; readonly activeSessionChangesObs: IObservable; readonly activeSessionChangesSummaryObs: IObservable; readonly activeSessionChangesetsObs: IObservable; readonly activeSessionChangesetsLoadingObs: IObservable; readonly activeSessionChangesetObs: IObservable; readonly activeSessionChangesetLoadingObs: IObservable; readonly activeSessionChangesetOperationsObs: IObservable; readonly activeSessionHasGitRepositoryObs: IObservable; readonly activeSessionReviewCommentCountByFileObs: IObservable>; readonly activeSessionAgentFeedbackCountByFileObs: IObservable>; readonly activeSessionStateObs: IObservable; readonly activeSessionLoadingObs: IObservable; readonly activeSessionSectionCollapseStateObs: IObservable; setChangesetId(changesetId: string | undefined): void; showChangeset(changeset: ISessionChangeset): void; readonly viewModeObs: IObservable; setViewMode(mode: ChangesViewMode): void; setSectionCollapsed(sessionResource: URI, section: ChangesViewSection, collapsed: boolean): void; readonly detailsViewStateTransferObs: IObservable; getDetailsViewState(sessionResource: URI, viewMode: ChangesViewMode): IChangesDetailsViewState | undefined; setDetailsViewState(sessionResource: URI, viewMode: ChangesViewMode, state: IChangesDetailsViewState): void; setChangesetFilesReviewState(resources: readonly URI[], reviewed: boolean): void; }