export type NestedTreePath = { [key: string]: {} | NestedTreePath; }; export type TreePathState = NestedTreePath; export type TreePathAction = { type: 'reset'; } | { type: 'toggled_level'; value: string[]; } | { type: 'open_level'; value: string[]; } | { type: 'close_level'; value: string[]; }; export declare const keyExists: (obj: NestedTreePath, path: string[]) => boolean; export declare function treePathReducer(state: TreePathState, action: TreePathAction): TreePathState; //# sourceMappingURL=treePathReducer.d.ts.map