import { direction, xy } from '@synnaxlabs/x';
import { ReactElement } from 'react';
import { Button } from '../button';
import { Control } from './types';
export interface DragButtonExtraProps {
    direction?: direction.Crude;
    dragDirection?: direction.Crude;
    dragScale?: xy.Crude | number;
    dragThreshold?: xy.Crude | number;
    resetValue?: number;
}
export interface DragButtonProps extends Omit<Button.ButtonProps, "direction" | "onChange" | "onDragStart" | "children" | "value" | "onDragEnd" | "onBlur">, Control<number>, DragButtonExtraProps {
    onDragEnd?: (value: number) => void;
    onBlur?: () => void;
}
export declare const DragButton: ({ direction, className, dragScale, dragThreshold, dragDirection, onChange, value, resetValue, onDragEnd, ...rest }: DragButtonProps) => ReactElement;
//# sourceMappingURL=DragButton.d.ts.map