import { Box, Point } from 'motion-utils'; import { Ref } from 'vue'; import { ReorderAxis } from './types'; export interface ReorderContextProps { axis?: Ref; registerItem?: (item: T, layout: Box) => void; updateOrder?: (item: T, offset: Point, velocity: Point) => void; /** * Whether a reorder happened during the current press. The release that * ends a reordering drag fires a click that isn't a real click (#2682). */ hasReordered?: Ref; groupRef?: Ref; } export declare const useReorderContext: = ReorderContextProps>(fallback?: T) => T extends null ? ReorderContextProps : ReorderContextProps, reorderContextProvider: (contextValue: ReorderContextProps) => ReorderContextProps;