storage-node.d.ts 333 B

1234567891011
  1. import { Storage } from './storage';
  2. export declare class StorageNode implements Storage {
  3. private prefix;
  4. constructor(id: string);
  5. getValues(): Promise<unknown[]>;
  6. get(key: string): Promise<any>;
  7. put(key: string, value: any): Promise<void>;
  8. set(key: string, value: any): Promise<void>;
  9. private getMap;
  10. }