import { interfaces } from '@theia/core/shared/inversify'; import { TreeViewsMain, TreeViewRevealOptions, RegisterTreeDataProviderOptions } from '../../../common/plugin-api-rpc'; import { RPCProtocol } from '../../../common/rpc-protocol'; import { Disposable } from '@theia/core'; import { TreeViewWidget, TreeViewNode } from './tree-view-widget'; import { BinaryBuffer } from '@theia/core/lib/common/buffer'; import { ViewBadge } from '@theia/plugin'; export declare class TreeViewsMainImpl implements TreeViewsMain, Disposable { private container; private readonly proxy; private readonly viewRegistry; private readonly widgetManager; private readonly fileContentStore; private readonly badgeService; private readonly treeViewProviders; private readonly toDispose; constructor(rpc: RPCProtocol, container: interfaces.Container); dispose(): void; $registerTreeDataProvider(treeViewId: string, $options: RegisterTreeDataProviderOptions): Promise; $unregisterTreeDataProvider(treeViewId: string): Promise; $readDroppedFile(contentId: string): Promise; $refresh(treeViewId: string, items?: string[]): Promise; $reveal(treeViewId: string, elementParentChain: string[], options: TreeViewRevealOptions): Promise; /** * Expand all parents of the node to reveal from root. This should also fetch missing nodes to the frontend. */ private expandParentChain; $setMessage(treeViewId: string, message: string): Promise; $setTitle(treeViewId: string, title: string): Promise; $setDescription(treeViewId: string, description: string): Promise; $setBadge(treeViewId: string, badge: ViewBadge | undefined): Promise; setChecked(treeViewWidget: TreeViewWidget, changedNodes: TreeViewNode[]): Promise; protected handleTreeEvents(treeViewId: string, treeViewWidget: TreeViewWidget): void; } //# sourceMappingURL=tree-views-main.d.ts.map