import { RefObject } from 'react'; import { DragMask, IDragMaskEvent, IDragMaskOptions } from '@co-hooks/drag-mask'; export interface IUseDragMaskOptions extends IDragMaskOptions { data?: T; draggable: boolean; onStart?: (e: IDragMaskEvent) => void; onChange?: (e: IDragMaskEvent) => void; onEnd?: (e: IDragMaskEvent) => void; } export declare function useDragMask(elem: HTMLElement | RefObject | null, options: IUseDragMaskOptions): DragMask;