import { Done } from '../../../../../Class/Functional/Done';
import { Holder } from '../../../../../Class/Holder';
import { ObjectUpdateType } from '../../../../../ObjectUpdateType';
import { System } from '../../../../../system';
import { J } from '../../../../../types/interface/J';
export interface I<T> {
    obj: J;
    path: string[];
    key: string;
}
export interface O<T> {
    type: ObjectUpdateType;
    path: string[];
    key: string;
    data: any;
}
export default class Subscribe<T> extends Holder<I<T>, O<T>> {
    private _unlisten;
    constructor(system: System);
    f({ obj, path, key }: I<T>, done: Done<O<T>>): Promise<void>;
    d(): void;
}
