import type { Observer } from "@git-stunts/git-warp"; /** A hydrated node with its ID and properties. */ export interface HydratedNode { readonly id: string; readonly props: Readonly>; } /** Traversal options matching observer.traverse.bfs. */ export interface TraverseOptions { readonly dir: "out" | "in"; readonly labelFilter?: string; readonly maxDepth?: number; } /** * BFS traversal followed by batch property hydration. * * Combines two common operations into one call: * 1. `observer.traverse.bfs()` for topology discovery * 2. `observer.query().match(ids).select(["id", "props"]).run()` for batch hydration * * Returns hydrated nodes with both IDs and properties. */ export declare function traverseAndHydrate(observer: Observer, startId: string, options: TraverseOptions): Promise; //# sourceMappingURL=traverse-hydrate.d.ts.map