import { Observable } from 'rxjs'; import { Node } from '../Node'; import { ChangeSetOperatorFunction } from '../ChangeSetOperatorFunction'; /** * Transforms the object to a fully recursive tree, create a hiearchy based on the pivot function * @typeparam TObject The type of the object. * @typeparam TKey The type of the key. * @param pivotOn The pivot on. * @param predicateChanged Observable to change the underlying predicate. */ export declare function transformToTree(pivotOn: (value: TObject) => TKey, predicateChanged?: Observable<(node: Node) => boolean>): ChangeSetOperatorFunction, TKey>;