import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service"; import { IClipboardService } from "@codingame/monaco-vscode-api/vscode/vs/platform/clipboard/common/clipboardService.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 { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service"; import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service"; import { IChatDebugEvent } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatDebugService"; import { IChatDebugService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatDebugService.service"; /** * Reusable detail panel that resolves and displays the content of a * single {@link IChatDebugEvent}. Used by both the logs view and the * flow chart view. */ export declare class ChatDebugDetailPanel extends Disposable { private readonly chatDebugService; private readonly instantiationService; private readonly editorService; private readonly clipboardService; private readonly hoverService; private readonly openerService; private readonly languageService; private readonly _onDidHide; readonly onDidHide: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event; private readonly _onDidChangeWidth; readonly onDidChangeWidth: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event; readonly element: HTMLElement; private readonly contentContainer; private readonly scrollable; private readonly sash; private headerElement; private readonly detailDisposables; private currentDetailText; private currentDetailEventId; private firstFocusableElement; private _width; get width(): number; constructor(parent: HTMLElement, chatDebugService: IChatDebugService, instantiationService: IInstantiationService, editorService: IEditorService, clipboardService: IClipboardService, hoverService: IHoverService, openerService: IOpenerService, languageService: ILanguageService); show(event: IChatDebugEvent): Promise; get isVisible(): boolean; focus(): void; /** * Set explicit dimensions on the scrollable element so the scrollbar * can compute its size. Call after the panel is shown and whenever * the available space changes. */ layout(height: number): void; layoutSash(): void; hide(): void; }