import type { KVLike } from "../types.js"; import type { SchemaNodeDef, TreeNodeWithChildren } from "./types.js"; /** * Build the root of a tree from fetched data. * * @param kv - The KV store * @param allKeys - All keys from keys() call (including root) * @param rootKey - The root entity key * @param rootId - The root entity ID * @param rootNode - The schema node for the root * @returns Root tree node with child iterators, or null if not found */ export declare function buildTree>(kv: KVLike, allKeys: string[], rootKey: string, rootId: string, rootNode: SchemaNodeDef): Promise | null>; //# sourceMappingURL=tree.d.ts.map