///
import { EventEmitter } from 'events';
import { ObjectValue } from './ObjectValue';
export declare enum ObjectNavigatorEvents {
Property = "property"
}
export interface OnProperty {
(name: string, value: ObjectNavigator): void;
}
export declare class ObjectNavigator extends EventEmitter implements ObjectValue, IterableIterator {
private readonly proxy;
readonly parent?: ObjectNavigator | undefined;
private readonly properties;
private current;
private constructor();
static from(value: object, path?: string): ObjectNavigator;
get key(): string;
get path(): string;
get property(): string;
get type(): string;
get value(): any;
set value(updated: any);
[Symbol.iterator](): IterableIterator;
get(keypath: string, create?: boolean): ObjectNavigator;
getIndex(index: number): ObjectNavigator;
getPath(path: string): ObjectNavigator | null;
getValue(keypath: string): T;
keys(): string[];
next(): IteratorResult;
parents(): ObjectNavigator[];
pathstr(): string;
recurse(onProperty?: OnProperty): ObjectNavigator[];
set(keypath: string, value: T): ObjectNavigator;
toObject(instance?: any): any;
private static create;
private inspect;
private static value;
}
//# sourceMappingURL=ObjectNavigator.d.ts.map