/**
* Create a boolean value and switches for changing it
*
* ```js
* const [isOpen, isOpenSwitch] = useBoolean()
*
*
*
*
* ```
*/
declare const useBoolean: (initialState?: boolean | (() => boolean)) => readonly [boolean, {
on: () => void;
off: () => void;
toggle: () => void;
}];
export default useBoolean;