import { Actions } from '../actions'; import { SkynetClient } from "skynet-js"; import { Storage, RemoteStorage } from "./storage"; export declare class SkyDBStorage implements Storage, RemoteStorage { secret: string; pubKey: string; appKey: string; skynetClient: SkynetClient; cache: Storage; constructor(secret: string, appKey: string); put(action: Actions): Promise; get(): Promise; clear(): Promise; flush(filterActions?: (x: Actions) => boolean): Promise; origin(): string; getFromSource(appKey: string, pubKey: string): Promise; getForeign(appKey: string, pubKey: string): Promise; }