import * as React from 'react';
/**
 * A utility with shortcuts to manipulate boolean values.
 */
export default function useBoolean(initialValue: boolean): {
  value: boolean;
  setValue: React.Dispatch<React.SetStateAction<boolean>>;
  toggle: () => void;
  setTrue: () => void;
  setFalse: () => void;
};