import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service"; import { Themable } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService"; import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service"; import { ISharedWebContentExtractorService } from "@codingame/monaco-vscode-api/vscode/vs/platform/webContentExtractor/common/webContentExtractor.service"; import { IExtensionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service"; import { IChatWidgetService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service"; import { IChatAttachmentResolveService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service"; import { ChatAttachmentModel } from "./chatAttachmentModel.js"; import { IChatInputStyles } from "./chatInputPart.js"; export declare class ChatDragAndDrop extends Themable { private readonly attachmentModel; private readonly styles; private readonly extensionService; private readonly webContentExtractorService; private readonly chatWidgetService; private readonly logService; private readonly chatAttachmentResolveService; private readonly overlays; private overlayText?; private overlayTextBackground; private disableOverlay; constructor(attachmentModel: ChatAttachmentModel, styles: IChatInputStyles, themeService: IThemeService, extensionService: IExtensionService, webContentExtractorService: ISharedWebContentExtractorService, chatWidgetService: IChatWidgetService, logService: ILogService, chatAttachmentResolveService: IChatAttachmentResolveService); addOverlay(target: HTMLElement, overlayContainer: HTMLElement): void; removeOverlay(target: HTMLElement): void; setDisabledOverlay(disable: boolean): void; private currentActiveTarget; private createOverlay; private onDragEnter; private onDragLeave; private onDrop; private drop; private updateDropFeedback; private guessDropType; private isDragEventSupported; private getDropTypeName; private resolveAttachmentsFromDragEvent; private downloadImageAsUint8Array; private resolveHTMLAttachContext; private setOverlay; private getOverlayText; private updateOverlayStyles; updateStyles(): void; }