import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { ViewContainer, IViewDescriptor, IView, ViewContainerLocation, IViewPaneContainer } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views"; import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service"; import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service"; import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event"; import { IPaneComposite } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/panecomposite"; import { IWorkbenchLayoutService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/layout/browser/layoutService.service"; import { IProgressIndicator } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress"; import { IPaneCompositePartService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/panecomposite/browser/panecomposite.service"; import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service"; import { IViewsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service"; export declare class ViewsService extends Disposable implements IViewsService { private readonly viewDescriptorService; private readonly paneCompositeService; private readonly contextKeyService; private readonly layoutService; private readonly editorService; readonly _serviceBrand: undefined; private readonly viewDisposable; private readonly viewPaneContainers; private readonly _onDidChangeViewVisibility; readonly onDidChangeViewVisibility: Event<{ id: string; visible: boolean; }>; private readonly _onDidChangeViewContainerVisibility; readonly onDidChangeViewContainerVisibility: Event<{ id: string; visible: boolean; location: ViewContainerLocation; }>; private readonly _onDidChangeFocusedView; readonly onDidChangeFocusedView: Event; private readonly viewContainerDisposables; private readonly enabledViewContainersContextKeys; private readonly visibleViewContextKeys; private readonly focusedViewContextKey; constructor(viewDescriptorService: IViewDescriptorService, paneCompositeService: IPaneCompositePartService, contextKeyService: IContextKeyService, layoutService: IWorkbenchLayoutService, editorService: IEditorService); private onViewsAdded; private onViewsVisibilityChanged; private onViewsRemoved; private getOrCreateActiveViewContextKey; private onDidChangeContainers; private onDidRegisterViewContainer; private onDidDeregisterViewContainer; private onDidChangeContainerLocation; private onViewDescriptorsAdded; private onViewDescriptorsRemoved; private updateViewContainerEnablementContextKey; private openComposite; private getComposite; isViewContainerVisible(id: string): boolean; isViewContainerActive(id: string): boolean; getVisibleViewContainer(location: ViewContainerLocation): ViewContainer | null; getActiveViewPaneContainerWithId(viewContainerId: string): IViewPaneContainer | null; openViewContainer(id: string, focus?: boolean): Promise; closeViewContainer(id: string): Promise; isViewVisible(id: string): boolean; getActiveViewWithId(id: string): T | null; getViewWithId(id: string): T | null; getFocusedView(): IViewDescriptor | null; getFocusedViewName(): string; openView(id: string, focus?: boolean): Promise; closeView(id: string): void; private getActiveViewPaneContainer; getViewProgressIndicator(viewId: string): IProgressIndicator | undefined; private getViewContainerProgressIndicator; private registerOpenViewContainerAction; private registerOpenViewAction; private registerFocusViewAction; private registerResetViewLocationAction; private registerPaneComposite; private deregisterPaneComposite; private createViewPaneContainer; }