import * as dom from "../../../../../../base/browser/dom.js"; import { Disposable } from "../../../../../../base/common/lifecycle.js"; import { ResourceMap } from "../../../../../../base/common/map.js"; import { IContextMenuService } from "../../../../../../platform/contextview/browser/contextView.service.js"; import { IFileService } from "../../../../../../platform/files/common/files.service.js"; import { IInstantiationService } from "../../../../../../platform/instantiation/common/instantiation.js"; import { IChatImageRevealOrigin } from "../../attachments/chatImageReveal.js"; import { IChatCollapsibleIODataPart } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatToolInputOutputContentPart"; export interface IChatToolOutputResourceToolbarContext { parts: IChatCollapsibleIODataPart[]; } /** * A reusable widget for rendering a group of resource data parts (files, images) * with image previews, attachment pills, and shared save actions. * * Inline image results bypass deferred attachment thumbnails while retaining the shared resource actions. */ export declare class ChatResourceGroupWidget extends Disposable { private readonly _options; private readonly _instantiationService; private readonly _contextMenuService; private readonly _fileService; readonly domNode: HTMLElement; private readonly _onDidChangeHeight; readonly onDidChangeHeight: import("../../../../../../base/common/event.js").Event; constructor(parts: IChatCollapsibleIODataPart[], _options: { showImageInHover?: boolean; imagePresentation?: "thumbnail" | "inline"; imageReveal?: IChatImageRevealOrigin; imageDimensions?: ResourceMap; } | undefined, _instantiationService: IInstantiationService, _contextMenuService: IContextMenuService, _fileService: IFileService); private _fillInResourceGroup; }