import { Unit } from '../../../../../Class/Unit';
import { ObjectUpdateType } from '../../../../../ObjectUpdateType';
import { System } from '../../../../../system';
import { Dict } from '../../../../../types/Dict';
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 _LocalStorage extends Unit<I, O> implements J<Dict<any>>, V<Dict<string>> {
    constructor(system: System);
    private ___emitter;
    subscribe(path: string[], key: string, listener: (type: ObjectUpdateType, path: string[], key: string, data: any) => void): Unlisten;
    private _checkAPI;
    read(): Promise<Dict<string>>;
    write(data: Dict<string>): Promise<void>;
    get(name: string): Promise<any>;
    set(name: string, data: string): Promise<void>;
    delete(name: string): Promise<any>;
    deepSet(path: string[], data: any): Promise<void>;
    deepGet(path: string[]): Promise<any>;
    deepDelete(path: string[]): Promise<void>;
    keys(): Promise<string[]>;
    hasKey(name: string): Promise<boolean>;
}
