import type { BaseBlockModel } from '@revesuite/store'; import { type BlockComponentElement } from './query.js'; import { type Point, Rect } from './rect.js'; import { type EditingState } from './types.js'; /** * A droppping type. */ export type DroppingType = 'none' | 'before' | 'after' | 'database'; /** * Calculates the drop target. */ export declare function calcDropTarget(point: Point, model: BaseBlockModel, element: Element, draggingElements: BlockComponentElement[], scale: number, flavour?: string | null): { type: DroppingType; rect: Rect; modelState: EditingState; } | null; //# sourceMappingURL=drag-and-drop.d.ts.map