/** Set value to true */ type SetTruthy = () => void; /** Set value to false */ type SetFalsy = () => void; /** Toggle the value */ type Toggle = () => void; type IsTruthy = boolean; type UseBooleanType = (defaultValue?: boolean) => [IsTruthy, SetTruthy, SetFalsy, Toggle]; /** * * @param defaultValue?: Boolean * @returns [isTruthy, setTruthy, setFalsy, toggle] */ declare const useBoolean: UseBooleanType; export default useBoolean; //# sourceMappingURL=use-boolean.d.ts.map