import type * as HydraDB from "../index.js"; export interface SearchV2RetrievalResult { /** deprecated: use forceful_relations */ additionalContext?: Record; /** * AliasExpansions is the alias layer's honesty stamp (V0): which nickname * was expanded to which canonical name for this answer. */ aliasExpansions?: HydraDB.SearchAliasExpansionNote[]; /** App-search fusion diagnostics for unscoped requests: final returned chunk attribution and pre-postprocessing fusion counts. Omitted for ACL-scoped requests and when no attributed chunks remain. */ appSearchFusion?: HydraDB.SearchAppSearchFusionDiagnostics; /** Retrieved and ranked chunks from the knowledge store or memories. */ chunks?: HydraDB.SearchV2Chunk[]; forcefulRelations?: HydraDB.SearchForcefulRelationsBucket; graph?: HydraDB.SearchGraphPlane; graphContext?: HydraDB.SearchGraphContext; profileContext?: HydraDB.SearchProfileContext; profileFilter?: HydraDB.SearchProfileFilterInfo; /** * SourceFacts surface the matched app-native (edge_source) facts when * source_reasoning was active; omitted otherwise (PRO-1602). */ sourceFacts?: HydraDB.SearchSourceFact[]; sourceFilter?: HydraDB.SearchSourceFilterInfo; /** Deduplicated source-level metadata for all returned chunks. */ sources?: HydraDB.SearchSourceInfo[]; temporalDuration?: HydraDB.SearchTemporalDuration; /** * TemporalFacts surface the matched edge-level temporal facts when * temporal_reasoning was requested; omitted otherwise. */ temporalFacts?: HydraDB.SearchTemporalFact[]; temporalFilter?: HydraDB.SearchTemporalFilterInfo; }