declare const useToggle: (initialValue?: boolean) => [boolean, (props?: any) => void]; export default useToggle;