import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation"; import { IChatRequestVariableEntry } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatVariableEntries"; import { IChatContentReference } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService"; export interface IChatAttachmentsContentPartOptions { readonly variables: IChatRequestVariableEntry[]; readonly contentReferences?: ReadonlyArray; readonly domNode?: HTMLElement; readonly limit?: number; } export declare class ChatAttachmentsContentPart extends Disposable { private readonly instantiationService; private readonly attachedContextDisposables; private readonly _onDidChangeVisibility; private readonly _contextResourceLabels; private _showingAll; private readonly variables; private readonly contentReferences; private readonly limit?; readonly domNode: HTMLElement | undefined; contextMenuHandler?: (attachment: IChatRequestVariableEntry, event: MouseEvent) => void; constructor(options: IChatAttachmentsContentPartOptions, instantiationService: IInstantiationService); private initAttachedContext; private getVisibleAttachments; private renderShowMoreButton; private renderAttachment; }