import type { Body, DefinePluginOpts, Meta, PluginOpts, Uppy } from '@uppy/core'; import { BasePlugin } from '@uppy/core'; declare module '@uppy/core' { interface PluginTypeRegistry { DropTarget: DropTarget; } } export interface DropTargetOptions extends PluginOpts { target?: HTMLElement | string | null; onDrop?: (event: DragEvent) => void; onDragOver?: (event: DragEvent) => void; onDragLeave?: (event: DragEvent) => void; } declare const defaultOpts: { target: null; }; /** * Drop Target plugin * */ export default class DropTarget extends BasePlugin, M, B> { static VERSION: string; private nodes?; constructor(uppy: Uppy, opts?: DropTargetOptions); addFiles: (files: Array) => void; handleDrop: (event: DragEvent) => Promise; handleDragOver: (event: DragEvent) => void; handleDragLeave: (event: DragEvent) => void; addListeners: () => void; removeListeners: () => void; install(): void; uninstall(): void; } export {}; //# sourceMappingURL=index.d.ts.map