import { Control } from './types';
import { Button } from '../button';
import { xy, direction } from '@synnaxlabs/x';
import { ReactElement } from 'react';

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.IconProps, "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, size, resetValue, onDragEnd, ...props }: DragButtonProps) => ReactElement;
//# sourceMappingURL=DragButton.d.ts.map