import { Data } from '@dnd-kit/abstract'; import { SortableInput, Sortable } from '@dnd-kit/dom/sortable'; import { MaybeRef, MaybeRefOrGetter, ShallowRef } from 'vue'; import { ElementRef } from '../types'; export declare const useSortableContext: ; handleRef: (elRef: ElementRef) => void; elementRef: (elRef: ElementRef) => void; sourceRef: (elRef: ElementRef) => void; targetRef: (elRef: ElementRef) => void; } | null | undefined = { sortable: ShallowRef; handleRef: (elRef: ElementRef) => void; elementRef: (elRef: ElementRef) => void; sourceRef: (elRef: ElementRef) => void; targetRef: (elRef: ElementRef) => void; }>(fallback?: T | undefined) => T extends null ? { sortable: ShallowRef; handleRef: (elRef: ElementRef) => void; elementRef: (elRef: ElementRef) => void; sourceRef: (elRef: ElementRef) => void; targetRef: (elRef: ElementRef) => void; } | null : { sortable: ShallowRef; handleRef: (elRef: ElementRef) => void; elementRef: (elRef: ElementRef) => void; sourceRef: (elRef: ElementRef) => void; targetRef: (elRef: ElementRef) => void; }, provideSortableContext: (contextValue: { sortable: ShallowRef; handleRef: (elRef: ElementRef) => void; elementRef: (elRef: ElementRef) => void; sourceRef: (elRef: ElementRef) => void; targetRef: (elRef: ElementRef) => void; }) => { sortable: ShallowRef; handleRef: (elRef: ElementRef) => void; elementRef: (elRef: ElementRef) => void; sourceRef: (elRef: ElementRef) => void; targetRef: (elRef: ElementRef) => void; }; export interface UseSortableInput extends Omit, 'handle' | 'element' | 'target'> { handle?: MaybeRef; element?: MaybeRef; target?: MaybeRef; } export declare function useSortable(input: MaybeRefOrGetter>): { sortable: ShallowRef>; isDragging: import('vue').ComputedRef; isDropping: import('vue').ComputedRef; isDragSource: import('vue').ComputedRef; isDropTarget: import('vue').ComputedRef; handleRef: (elRef: ElementRef) => void; elementRef: (elRef: ElementRef) => undefined; sourceRef: (elRef: ElementRef) => undefined; targetRef: (elRef: ElementRef) => undefined; };