import { Actions } from '../actions'; import * as serialize from "../serialize"; import { Storage } from "./storage"; export declare class MemoryStorage implements Storage { storage: Array; remote: Storage; pubKey: string; constructor(pubKey: string); put(action: Actions): Promise; get(): Promise>; origin(): string; clear(): Promise; flush(): Promise; addRemote(remoteStorage: Storage): Promise; getForeign(_appKey: string, _pubKey: string): Promise>; }