import { type Dispatch, type SetStateAction } from "react"; export interface UseBooleanReturn { value: boolean; setValue: Dispatch>; setTrue: () => void; setFalse: () => void; toggle: () => void; } /** * Easily manage a boolean state with dedicated `setTrue`, `setFalse`, and `toggle` methods. * Prevents needing to write `() => setX(true)` all over your components. * * @param initialValue - The initial boolean state (default: false). * @returns Object containing the current `value` and strict modifier functions. * * @example * ```tsx * const modal = useBoolean(false); * return ; * ``` */ export declare function useBoolean(initialValue?: boolean): UseBooleanReturn;