Returns the wallet info for the provided wallet id.
function useWalletInfo( id: undefined | WalletId,): UseQueryResult<WalletInfo, Error>;
let id: undefined | WalletId;
let returnType: UseQueryResult<WalletInfo, Error>;