import { StoreApi } from 'zustand'; import { Coords } from '../../common'; export interface DragItem extends Record { id: string; hidePreview?: boolean; } export interface DndStore { dragItem?: DragItem; coords?: Coords; pointer: Coords; direction?: 'right' | 'left'; dropTargets: HTMLElement[]; setDragItem: (dragItem?: DragItem) => void; setCoords: (coords?: { x: number; y: number; }) => void; setPointer: (pointer?: { x: number; y: number; }) => void; setDirection: (direction?: 'right' | 'left') => void; addDropTarget: (target: HTMLElement) => void; } export declare const createDndStore: () => import("zustand").UseBoundStore>; export type TDndStore = () => StoreApi;