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';
export type I = {};
export type O = {};
export default class Global extends Unit<I, O> implements J<Dict<any>> {
    constructor(system: System);
    subscribe(path: string[], key: string, listener: (type: ObjectUpdateType, path: string[], key: string, data: any) => void): Unlisten;
    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>;
}
