import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; 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 { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service"; import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation"; import { IChatCodeBlockInfo } from "@codingame/monaco-vscode-2339d6ac-d6bb-53cd-95ee-81911735d1c7-common/vscode/vs/workbench/contrib/chat/browser/chat"; import { IChatContentPartRenderContext } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts"; import { EditorPool } from "./chatMarkdownContentPart.js"; import { ChatCollapsibleIOPart } from "./chatToolInputOutputContentPart.js"; /** * A reusable component for rendering tool output consisting of code blocks and/or resources. * This is used by both ChatCollapsibleInputOutputContentPart and ChatToolPostExecuteConfirmationPart. */ export declare class ChatToolOutputContentSubPart extends Disposable { private readonly context; private readonly editorPool; private readonly parts; private readonly contextKeyService; private readonly _instantiationService; private readonly _contextMenuService; private readonly _fileService; private readonly _onDidChangeHeight; readonly onDidChangeHeight: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event; private _currentWidth; private readonly _editorReferences; readonly domNode: HTMLElement; readonly codeblocks: IChatCodeBlockInfo[]; constructor(context: IChatContentPartRenderContext, editorPool: EditorPool, parts: ChatCollapsibleIOPart[], width: number, contextKeyService: IContextKeyService, _instantiationService: IInstantiationService, _contextMenuService: IContextMenuService, _fileService: IFileService); private createOutputContents; private addResourceGroup; private fillInResourceGroup; private addCodeBlock; layout(width: number): void; }