How can I declare Moralis as const without useMoralis

How can I do this

const {  Moralis } = useMoralis();

without using useMoralis?

I had this in my code:

import { useMoralis, useMoralisWeb3Api } from "react-moralis";

function App() {
  const Web3Api = useMoralisWeb3Api();
  const { Moralis } = useMoralis();

but you could also do:

import { useMoralisWeb3Api } from "react-moralis";
import { Moralis } from "moralis";