import type { BlockService } from '@blockeditor/block-std'; import type { EditorHost } from '@blockeditor/lit'; import type { BlockModel } from '@blockeditor/store'; import { Point } from '../../_common/utils/index.js'; export type onDropProps = { files: File[]; targetModel: BlockModel | null; place: 'before' | 'after'; point: Point; }; export type FileDropOptions = { flavour: string; onDrop?: ({ files, targetModel, place, point, }: onDropProps) => Promise | void; }; export declare class FileDropManager { private _blockService; private _fileDropOptions; private static _dropResult; private _indicator; constructor(blockService: BlockService, fileDropOptions: FileDropOptions); get editorHost(): EditorHost; get type(): 'before' | 'after'; get targetModel(): BlockModel | null; private _onDragOver; onDragOver: (event: DragEvent) => void; private _onDrop; } //# sourceMappingURL=file-drop-manager.d.ts.map