import { Disposable } from "../../../../../base/common/lifecycle.js"; import { URI } from "../../../../../base/common/uri.js"; import { IRange } from "../../../../../editor/common/core/range.js"; import { ILanguageService } from "../../../../../editor/common/languages/language.service.js"; import { IModelService } from "../../../../../editor/common/services/model.service.js"; import { IMenuService } from "../../../../../platform/actions/common/actions.service.js"; import { IConfigurationService } from "../../../../../platform/configuration/common/configuration.service.js"; import { IContextKeyService } from "../../../../../platform/contextkey/common/contextkey.service.js"; import { IContextMenuService } from "../../../../../platform/contextview/browser/contextView.service.js"; import { IFileService } from "../../../../../platform/files/common/files.service.js"; import { IHoverService } from "../../../../../platform/hover/browser/hover.service.js"; import { ILabelService } from "../../../../../platform/label/common/label.service.js"; import { ResourceLabels } from "../../../../browser/labels.js"; import { IChatRequestVariableEntry } from "../../common/attachments/chatVariableEntries.js"; import { IThemeService } from "../../../../../platform/theme/common/themeService.service.js"; import { IChatWidget } from "../chat.js"; import { ChatAttachmentModel } from "./chatAttachmentModel.js"; import { IChatContextService } from "../contextContrib/chatContextService.service.js"; import { ChatImplicitContexts } from "./chatImplicitContext.js"; import { IBrowserViewWorkbenchService } from "../../../browserView/common/browserView.service.js"; export declare function isImplicitContextAlreadyAttached(attachments: readonly IChatRequestVariableEntry[], targetUri: URI | undefined, targetRange: IRange | undefined, targetHandle: number | undefined): boolean; export declare class ImplicitContextAttachmentWidget extends Disposable { private readonly widgetRef; private readonly isAttachmentAlreadyAttached; private readonly attachment; private readonly resourceLabels; private readonly attachmentModel; private readonly domNode; private readonly contextKeyService; private readonly contextMenuService; private readonly labelService; private readonly menuService; private readonly fileService; private readonly languageService; private readonly modelService; private readonly hoverService; private readonly configService; private readonly chatContextService; private readonly browserViewService; private readonly themeService; private readonly renderDisposables; private renderedCount; constructor(widgetRef: () => IChatWidget | undefined, isAttachmentAlreadyAttached: (targetUri: URI | undefined, targetRange: IRange | undefined, targetHandle: number | undefined) => boolean, attachment: ChatImplicitContexts, resourceLabels: ResourceLabels, attachmentModel: ChatAttachmentModel, domNode: HTMLElement, contextKeyService: IContextKeyService, contextMenuService: IContextMenuService, labelService: ILabelService, menuService: IMenuService, fileService: IFileService, languageService: ILanguageService, modelService: IModelService, hoverService: IHoverService, configService: IConfigurationService, chatContextService: IChatContextService, browserViewService: IBrowserViewWorkbenchService, themeService: IThemeService); private _hasDualPathIcon; private render; get hasRenderedContexts(): boolean; private renderMainContext; private renderString; private renderResource; private renderBrowserResource; private convertToRegularAttachment; private pinSelection; }