import { Disposable } from "../../../../../../base/common/lifecycle.js"; import { IInstantiationService } from "../../../../../../platform/instantiation/common/instantiation.js"; import { IContextKeyService } from "../../../../../../platform/contextkey/common/contextkey.service.js"; import { IMarkdownRendererService } from "../../../../../../platform/markdown/browser/markdownRenderer.service.js"; import { IChatCodeBlockInfo } from "../../chat.js"; import { IChatContentPartRenderContext } from "./chatContentParts.js"; import { ChatCollapsibleIOPart } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart"; /** * 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 parts; private readonly _instantiationService; private readonly contextKeyService; private readonly _markdownRendererService; private readonly _editorReferences; readonly domNode: HTMLElement; readonly codeblocks: IChatCodeBlockInfo[]; constructor(context: IChatContentPartRenderContext, parts: ChatCollapsibleIOPart[], _instantiationService: IInstantiationService, contextKeyService: IContextKeyService, _markdownRendererService: IMarkdownRendererService); private toMdString; private createOutputContents; private addResourceGroup; private addCodeBlock; layout(width: number): void; }