import { Disposable } from "../../../../../base/common/lifecycle.js"; import { URI } from "../../../../../base/common/uri.js"; import { IConfigurationService } from "../../../../../platform/configuration/common/configuration.service.js"; import { ICommandService } from "../../../../../platform/commands/common/commands.service.js"; import { IFileDialogService } from "../../../../../platform/dialogs/common/dialogs.service.js"; import { IFileService } from "../../../../../platform/files/common/files.service.js"; import { IInstantiationService } from "../../../../../platform/instantiation/common/instantiation.js"; import { IOpenerService } from "../../../../../platform/opener/common/opener.service.js"; import { ISharedWebContentExtractorService } from "../../../../../platform/webContentExtractor/common/webContentExtractor.service.js"; import { IChatArtifactsService } from "../../common/tools/chatArtifactsService.service.js"; import { IChatImageCarouselService } from "../chatImageCarouselService.service.js"; export declare class ChatArtifactsWidget extends Disposable { private readonly _chatArtifactsService; private readonly _instantiationService; private readonly _openerService; private readonly _configurationService; private readonly _commandService; private readonly _fileService; private readonly _fileDialogService; private readonly _chatImageCarouselService; private readonly _webContentExtractorService; readonly domNode: HTMLElement; private _slot; private _visible; private readonly _sessionResource; private readonly _isCollapsed; private readonly _currentArtifacts; private readonly _treeData; static readonly ELEMENT_HEIGHT = 22; private static readonly MAX_ITEMS_SHOWN; constructor(_chatArtifactsService: IChatArtifactsService, _instantiationService: IInstantiationService, _openerService: IOpenerService, _configurationService: IConfigurationService, _commandService: ICommandService, _fileService: IFileService, _fileDialogService: IFileDialogService, _chatImageCarouselService: IChatImageCarouselService, _webContentExtractorService: ISharedWebContentExtractorService); setSessionResource(sessionResource: URI | undefined): void; /** Add the list to its slot in the chat input stack. */ attachTo(slot: HTMLElement): void; /** Show or hide the list, and report the same to the stack. */ private _setVisible; private _openGroupInCarousel; private _openLeafArtifact; private _openScreenshotInCarousel; private _openMemoryFileArtifact; private _clearSource; private _saveArtifact; }