export default function useToggle(initialState?: boolean): [boolean, () => void];