import { Disposable, IDisposable } from "../../../../../../base/common/lifecycle.js"; import { IFileDialogService } from "../../../../../../platform/dialogs/common/dialogs.service.js"; import { IFileService } from "../../../../../../platform/files/common/files.service.js"; import { IHoverService } from "../../../../../../platform/hover/browser/hover.service.js"; import { IInstantiationService } from "../../../../../../platform/instantiation/common/instantiation.js"; import { ILogService } from "../../../../../../platform/log/common/log.service.js"; import { INotificationService } from "../../../../../../platform/notification/common/notification.service.js"; import { IProgressService } from "../../../../../../platform/progress/common/progress.service.js"; import { ISharedWebContentExtractorService } from "../../../../../../platform/webContentExtractor/common/webContentExtractor.service.js"; import { IChatToolInvocation, IChatToolInvocationSerialized } from "../../../common/chatService/chatService.js"; import { IChatRendererContent, IChatResponseViewModel } from "../../../common/model/chatViewModel.js"; import { ChatTreeItem, IChatCodeBlockInfo } from "../../chat.js"; import { IChatContentPart, IChatContentPartRenderContext } from "./chatContentParts.js"; type ImageTool = IChatToolInvocation | IChatToolInvocationSerialized; /** A batch-owned preview keeps parallel image generation quiet without delaying ready results. */ export declare class ChatImageGenerationBatchPart extends Disposable implements IChatContentPart { private readonly owner; private readonly context; private readonly createToolPart; private readonly instantiationService; private readonly fileService; private readonly hoverService; private readonly logService; private readonly fileDialogService; private readonly notificationService; private readonly progressService; private readonly webContentExtractorService; private static readonly viewStates; readonly domNode: HTMLElement; private readonly selectedTool; private readonly preview; private readonly footer; private readonly summary; private readonly downloadAction; private downloadInProgress; private readonly thumbnails; private readonly thumbnailRows; private readonly confirmations; private readonly loading; /** The loading square while {@link loading} shows it, which a reveal grows from. */ private loadingLine; private loadingSurface; private readonly previewWidget; private readonly layoutAfterResize; private readonly thumbnailItems; private readonly toolParts; private readonly toolPartStartIndices; private readonly _onDidChangeHeight; readonly onDidChangeHeight: import("../../../../../../base/common/event.js").Event; private readonly viewState; private slots; private previewKey; private tools; get codeblocks(): IChatCodeBlockInfo[]; constructor(owner: ImageTool, context: IChatContentPartRenderContext, response: IChatResponseViewModel, createToolPart: (tool: ImageTool, codeBlockStartIndex: number) => IChatContentPart, instantiationService: IInstantiationService, fileService: IFileService, hoverService: IHoverService, logService: ILogService, fileDialogService: IFileDialogService, notificationService: INotificationService, progressService: IProgressService, webContentExtractorService: ISharedWebContentExtractorService); private update; private updateDownloadAction; private downloadImages; private updateThumbnails; private layoutThumbnails; private getVerticalThumbnailIndex; private loadThumbnail; private select; private updatePreview; private clearPreview; private updateToolRow; hasSameContent(other: IChatRendererContent, _followingContent: IChatRendererContent[], element: ChatTreeItem): boolean; addDisposable(disposable: IDisposable): void; } export {};