import { ObjectUpdateType } from '../../../../ObjectUpdateType';
import { Primitive } from '../../../../Primitive';
import { System } from '../../../../system';
import { Unlisten } from '../../../../types/Unlisten';
import { J } from '../../../../types/interface/J';
import { V } from '../../../../types/interface/V';
export type I = {};
export type O = {};
export default class Storage_ extends Primitive<I, O> implements V, J {
    private _prefix;
    constructor(system: System, id: string, prefix: string);
    protected _storage: () => Storage;
    read(): Promise<any>;
    write(data: any): Promise<void>;
    get(name: string): Promise<any>;
    set(name: string, data: any): Promise<void>;
    delete(name: string): Promise<any>;
    deepSet(path_: string[], data: any): Promise<void>;
    deepGet(path_: string[]): Promise<any>;
    deepDelete(path_: string[]): Promise<void>;
    subscribe(path: string[], key: string, listener: (type: ObjectUpdateType, path: string[], key: string, data: any) => void): Unlisten;
    keys(): Promise<string[]>;
    hasKey(name: string): Promise<boolean>;
}
