/** * Storage */ export default class DB { defaultConfigs: any; /** * the storage lib interact with localStorage now * @param defaultConfigs - define what will you get when you require an key not exist */ constructor(defaultConfigs: any); /** * get val by key * @param key - will be assembled to eosplayer::${key} * @return {*} */ get(key: string): any; /** * set value * @param key * @param val */ set(key: string, val: any): void; }