import { type Entity } from 'koota';
export interface TreeNode {
    entity: Entity;
    children?: TreeNode[];
}
/**
 * Reactive top-down tree built from `ChildOf` relations. Rebuilds when any
 * named entity is added, removed, renamed, or gains/loses a `ChildOf` or
 * `Orphan` edge. Orphans are hidden from the tree — they reappear once
 * `provideHierarchy` resolves them to a real `ChildOf` parent.
 */
export declare const useTree: () => {
    readonly current: TreeNode[];
};
