/** * Copyright (c) 2023 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author David Sehnal */ import { PluginContext } from '../../mol-plugin/context.js'; export type PluginDragAndDropHandler = (files: File[], plugin: PluginContext) => Promise | boolean; export declare class DragAndDropManager { plugin: PluginContext; private handlers; addHandler(name: string, handler: PluginDragAndDropHandler): void; removeHandler(name: string): void; handle(files: File[]): Promise; dispose(): void; constructor(plugin: PluginContext); }