/// import EventEmitter from 'events'; export declare class Storage extends EventEmitter { timed: Map; constant: Map; /** * Get all constant values. */ all(): Promise; /** * Get a constant value by the given key. */ get(key: string, defaultValue?: any): Promise; /** * Set a constant value by the given key. */ set(key: string, value: any): Promise; /** * Delete a constant value by the given key. * @param key */ delete(key: string): Promise; /** * Get all timed values. */ allTimed(): Promise; /** * Add a timed value by the given key. */ add(key: string, value: any): Promise; /** * Remove a timed value by the given timestamp and key. */ remove(key: string, timestamp: string): Promise; }