import { Disposable } from "../../../../base/common/lifecycle.js"; import { IObservable } from "../../../../base/common/observable.js"; import { URI } from "../../../../base/common/uri.js"; import { IClipboardService } from "../../../../platform/clipboard/common/clipboardService.service.js"; import { ICommandService } from "../../../../platform/commands/common/commands.service.js"; import { IConfigurationService } from "../../../../platform/configuration/common/configuration.service.js"; import { IFileDialogService } from "../../../../platform/dialogs/common/dialogs.service.js"; import { IFileService } from "../../../../platform/files/common/files.service.js"; import { ILabelService } from "../../../../platform/label/common/label.service.js"; import { INotificationService } from "../../../../platform/notification/common/notification.service.js"; import { IOpenerService } from "../../../../platform/opener/common/opener.service.js"; import { ISharedWebContentExtractorService } from "../../../../platform/webContentExtractor/common/webContentExtractor.service.js"; import { IChatPillSection } from "../../../browser/chatPills.js"; import { IChatArtifact } from "@codingame/monaco-vscode-chat-service-override/vscode/vs/workbench/contrib/chat/common/tools/chatArtifactsService"; import { IChatArtifactsService } from "../common/tools/chatArtifactsService.service.js"; import { IChatImageCarouselService } from "./chatImageCarouselService.service.js"; /** Transcript and rule artifacts adapted to the same pill used for recorded session artifacts. */ export declare class ChatArtifactPillSource extends Disposable { private readonly configurationService; private readonly imageCarouselService; private readonly fileService; private readonly fileDialogService; private readonly commandService; private readonly openerService; private readonly clipboardService; private readonly labelService; private readonly notificationService; private readonly webContentExtractorService; readonly sections: IObservable; constructor(sessionResource: IObservable, artifactsService: IChatArtifactsService, configurationService: IConfigurationService, imageCarouselService: IChatImageCarouselService, fileService: IFileService, fileDialogService: IFileDialogService, commandService: ICommandService, openerService: IOpenerService, clipboardService: IClipboardService, labelService: ILabelService, notificationService: INotificationService, webContentExtractorService: ISharedWebContentExtractorService); private openImages; private openResource; private run; } export declare function saveChatArtifact(artifact: IChatArtifact, fileService: IFileService, fileDialogService: IFileDialogService, webContentExtractorService: ISharedWebContentExtractorService): Promise; /** Keep generated-image presentation while retaining removal of any matching recorded artifact. */ export declare function mergeChatArtifactSections(recorded: readonly IChatPillSection[], transcript: readonly IChatPillSection[]): readonly IChatPillSection[];