/**
 * Custom hook to handle toggle states.
 *
 * @param initialValue - The initial state of the toggle (default: false)
 * @returns An object with the current value, toggle function, and control functions
 */
declare const useToggle: (initialValue?: boolean) => {
    isToggled: boolean;
    toggle: (eventOrCallback?: React.SyntheticEvent | ((newValue: boolean) => void)) => void;
    enable: () => void;
    disable: () => void;
};
export default useToggle;
