/** * Barrel for all substrate adapters. * * Re-exports individual adapter functions and provides the unified * `getAllSubstrates()` function that merges results from all five databases * into a single BrainGraph. */ export { getAgentRegistrySubstrate } from './agent-registry.js'; export { getBrainSubstrate } from './brain.js'; export { getConduitSubstrate } from './conduit.js'; export { getNexusSubstrate } from './nexus.js'; export { getTasksSubstrate } from './tasks.js'; import type { BrainGraph, BrainQueryOptions } from '../types.js'; /** * Queries all five substrates and merges the results into a unified BrainGraph. * * When `options.substrates` is provided, only those substrates are queried. * Node IDs are substrate-prefixed, so deduplication is safe to perform * by ID equality alone. * * After all substrates are loaded, performs a second-pass stub-node load: * any edge target ID not yet in the loaded node set is fetched as a minimal * stub (id, substrate, kind, label). This recovers cross-substrate edges * that would otherwise be silently dropped. * * Stub nodes carry `meta.isStub: true` for optional UI differentiation. * * @param options - Query options forwarded to each substrate adapter. * @returns Merged BrainGraph across all requested substrates, with stub nodes for unresolved edge targets. */ export declare function getAllSubstrates(options?: BrainQueryOptions): BrainGraph; //# sourceMappingURL=index.d.ts.map