import { IMarkdownString } from "@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent"; import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri"; import { ITextModel } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/model"; 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 { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation"; import { IChatRendererContent } from "@codingame/monaco-vscode-9911aec2-e4dd-5483-8369-9d695cc70d8a-common/vscode/vs/workbench/contrib/chat/common/chatViewModel"; import { ChatTreeItem, IChatCodeBlockInfo } from "@codingame/monaco-vscode-9911aec2-e4dd-5483-8369-9d695cc70d8a-common/vscode/vs/workbench/contrib/chat/browser/chat"; import { ICodeBlockRenderOptions } from "../codeBlockPart.js"; import { IChatContentPartRenderContext } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts"; import { EditorPool } from "./chatMarkdownContentPart.js"; export interface IChatCollapsibleIOCodePart { kind: "code"; textModel: ITextModel; languageId: string; options: ICodeBlockRenderOptions; codeBlockInfo: IChatCodeBlockInfo; } export interface IChatCollapsibleIODataPart { kind: "data"; value: Uint8Array; mimeType: string | undefined; uri: URI; } export type ChatCollapsibleIOPart = IChatCollapsibleIOCodePart | IChatCollapsibleIODataPart; export interface IChatCollapsibleInputData extends IChatCollapsibleIOCodePart { } export interface IChatCollapsibleOutputData { parts: ChatCollapsibleIOPart[]; } export declare class ChatCollapsibleInputOutputContentPart extends Disposable { private readonly context; private readonly editorPool; private readonly input; private readonly output; private readonly contextKeyService; private readonly _instantiationService; private readonly _contextMenuService; private readonly _onDidChangeHeight; readonly onDidChangeHeight: import("@codingame/monaco-vscode-api/vscode/vs/base/common/event").Event; private _currentWidth; private readonly _editorReferences; private readonly _titlePart; readonly domNode: HTMLElement; readonly codeblocks: IChatCodeBlockInfo[]; set title(s: string | IMarkdownString); get title(): string | IMarkdownString; private readonly _expanded; get expanded(): boolean; constructor(title: IMarkdownString | string, subtitle: string | IMarkdownString | undefined, context: IChatContentPartRenderContext, editorPool: EditorPool, input: IChatCollapsibleInputData, output: IChatCollapsibleOutputData | undefined, isError: boolean, initiallyExpanded: boolean, width: number, contextKeyService: IContextKeyService, _instantiationService: IInstantiationService, _contextMenuService: IContextMenuService); private createMessageContents; private addResourceGroup; private addCodeBlock; hasSameContent(other: IChatRendererContent, followingContent: IChatRendererContent[], element: ChatTreeItem): boolean; layout(width: number): void; }