import { type Ref } from 'vue';
import type { Color } from '../color';
import type { TransformOffset } from '../interface';
type EventType = MouseEvent | TouchEvent;
type EventHandle = (e: EventType) => void;
interface UseColorDragProps {
    color: Ref<Color>;
    containerRef: Ref<HTMLDivElement>;
    targetRef: Ref<HTMLDivElement>;
    direction?: Ref<'x' | 'y'>;
    onDragChange?: (offset: TransformOffset) => void;
    onDragChangeComplete?: () => void;
    calculate?: () => TransformOffset;
    disabledDrag?: Ref<boolean>;
}
declare function useColorDrag(props: UseColorDragProps): [Ref<TransformOffset>, EventHandle];
export default useColorDrag;
