import type { Relationship, RelationshipType } from '../../types/index.js'; import type { NativeConnectionManager } from './native-connection.js'; import type { EntriesManager } from './entries/index.js'; export declare class RelationshipsManager { private ctx; constructor(ctx: NativeConnectionManager, _entries?: EntriesManager); private get db(); linkEntries(fromEntryId: number, toEntryId: number, relationshipType: RelationshipType, description?: string): Relationship; getRelationships(entryId: number): Relationship[]; getRelationshipsForEntries(entryIds: number[]): Map; /** * Get the top relationship hubs — entries with the most connections. * Used by the briefing resource to surface knowledge graph highlights. */ getRelationshipHubs(limit: number): { entryId: number; content: string; totalLinks: number; }[]; /** * Count entries with no relationships (orphans). * Used by the briefing resource to compute orphan ratio. */ getOrphanCount(workspaceId?: string): number; } //# sourceMappingURL=relationships.d.ts.map