import { IRange } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range"; import { IMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service"; import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service"; import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service"; import { IContextMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service"; import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service"; import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation"; import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service"; import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service"; import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service"; import { ViewPane } from "@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/views/viewPane"; import { IViewletViewOptions } from "@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/views/viewsViewlet"; import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service"; import { IDebugSession, IStackFrame, IThread } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug"; import { IDebugService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service"; import { ThreadAndSessionIds } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debugModel"; type CallStackItem = IStackFrame | IThread | IDebugSession | string | ThreadAndSessionIds | IStackFrame[]; interface ICallStackItemContext { sessionId: string; threadId?: string; frameId?: string; frameName?: string; frameLocation?: { range: IRange; source: DebugProtocol.Source; }; } export declare function getContext(element: CallStackItem | null): ICallStackItemContext | undefined; export declare function getContextForContributedActions(element: CallStackItem | null): string | number; export declare function getSpecificSourceName(stackFrame: IStackFrame): string; export declare class CallStackView extends ViewPane { private options; private readonly debugService; private readonly menuService; private stateMessage; private stateMessageLabel; private stateMessageLabelHover; private onCallStackChangeScheduler; private needsRefresh; private ignoreSelectionChangedEvent; private ignoreFocusStackFrameEvent; private dataSource; private tree; private autoExpandedSessions; private selectionNeedsUpdate; constructor(options: IViewletViewOptions, contextMenuService: IContextMenuService, debugService: IDebugService, keybindingService: IKeybindingService, instantiationService: IInstantiationService, viewDescriptorService: IViewDescriptorService, configurationService: IConfigurationService, contextKeyService: IContextKeyService, openerService: IOpenerService, themeService: IThemeService, hoverService: IHoverService, menuService: IMenuService); protected renderHeaderTitle(container: HTMLElement): void; protected renderBody(container: HTMLElement): void; protected layoutBody(height: number, width: number): void; focus(): void; collapseAll(): void; private updateTreeSelection; private onContextMenu; } export {};