import type * as HydraDB from "../index.js"; /** * GraphContext is omitted entirely when graph_context is disabled on the * request (pointer + omitempty), so the response carries no graph slice * instead of an empty-but-present object. */ export interface SearchGraphContext { /** Mapping from chunk ID to the relation group IDs it participates in. */ chunkIdToGroupIds?: Record; /** Scored relation paths relevant to the query, grouped by chunk. */ chunkRelations?: HydraDB.SearchScoredPathResponse[]; /** Scored relation paths ranked by relevance to the query. */ queryPaths?: HydraDB.SearchScoredPathResponse[]; }