import type { ControlPosition, DraggableData, MouseTouchEvent } from "./types"; import type { ComponentInternalInstance } from "vue"; export declare function getBoundPosition(draggable: ComponentInternalInstance, x: number, y: number): [number, number]; export declare function snapToGrid(grid: [number, number], pendingX: number, pendingY: number): [number, number]; export declare function canDragX(draggable: ComponentInternalInstance): boolean; export declare function canDragY(draggable: ComponentInternalInstance): boolean; export declare function getControlPosition(e: MouseTouchEvent, touchIdentifier: number, draggableCore: ComponentInternalInstance): ControlPosition | null; export declare function createCoreData(draggable: ComponentInternalInstance, x: number, y: number): DraggableData; export declare function createDraggableData(draggable: ComponentInternalInstance, coreData: DraggableData): DraggableData;