You can export the MetaMask state by running the following command:
copy(await stateHooks.getPersistedState())
⚠️ Warning: this will export the complete state, including your Vault. Use at your own risk.