import type { ScopedStorage } from '@masknet/shared-base' ; export const StorageDefaultValue = { publicKey : null as null | string , network : null as null | number , } ; let storage = null ! ; export function setupStorage ( _ ) { storage = _ ; } export function getStorage ( ) { return storage . storage ; }