import type { KnowledgeStore } from '../store.js';
import type { KnowledgeEdgeRecord, KnowledgeNodeRecord, KnowledgeSourceRecord } from '../types.js';
export interface KnowledgeSemanticGraphIndex {
    readonly edges: readonly KnowledgeEdgeRecord[];
    readonly nodesById: ReadonlyMap<string, KnowledgeNodeRecord>;
    readonly sourcesById: ReadonlyMap<string, KnowledgeSourceRecord>;
}
export declare function buildKnowledgeSemanticGraphIndex(store: KnowledgeStore, spaceId: string): KnowledgeSemanticGraphIndex;
//# sourceMappingURL=graph-index.d.ts.map