/** * Execute an operation for each org unit within a tree along a path * @param root * @param path * @param op A callback that accepts one parameter: An org unit */ export function forEachOnPath(root: any, path: any, op: any): void; /** * Decrement the selected member count of of the specified org unit and all its ascendants in the org unit tree with the * specified root * @param root * @param orgUnit */ export function decrementMemberCount(root: any, orgUnit: any): void; /** * Increment the selected member count of of the specified org unit and all its ascendants in the org unit tree with the * specified root * @param root The root org unit * @param orgUnit */ export function incrementMemberCount(root: any, orgUnit: any): void; /** * Merge the specified children into the org unit tree with the specified root * @param root * @param children */ export function mergeChildren(root: any, children: any): any;