/** * Return an array of 3 element, representing: * - current boolean value * - a function to set the value to true * - a function to set the value to false * * Example usage: * const [showModal, openModal, closeModal] = useBool(); */ export declare function useBool(initialValue?: boolean): [boolean, () => void, () => void];