import { RefObject } from 'react';
type UseToggleDragProps = {
    checked: boolean;
    onChange: ((checked: boolean) => void) | undefined;
};
export declare const useToggleDrag: ({ checked, onChange }: UseToggleDragProps) => {
    trackRef: RefObject<HTMLDivElement | null>;
    thumbRef: RefObject<HTMLSpanElement | null>;
    isDragging: boolean;
    bounds: {
        left: number;
        right: number;
    };
    position: number;
    onDrag: ({ x }: {
        x: number;
    }) => void;
    onStop: () => void;
    onChangeWithDrag: () => void;
};
export {};
//# sourceMappingURL=useToggleDrag.d.ts.map