import { Plugin } from 'prosemirror-state'; import { RteFeatureImpl } from '../feature'; export interface RteDropHandlerConfig { onViewportDragOver?: (event: DragEvent) => boolean; onViewportDrop?: (event: DragEvent) => void; onViewportDragFinish?: () => void; } export declare class RteDropHandlerFeatureImpl extends RteFeatureImpl { readonly config: RteDropHandlerConfig; name: string; constructor(config: RteDropHandlerConfig); getPlugins(): { priority: number; featureName: string; value: Plugin; }[]; } export declare const RteDropHandlerFeature: { new (config: RteDropHandlerConfig): {}; };