import type { KnowledgeStore } from '../store.js';
import type { KnowledgeNodeRecord, KnowledgeSearchResult, KnowledgeSourceRecord } from '../types.js';
import type { KnowledgeObjectProfilePolicy } from '../extensions.js';
import type { KnowledgeSemanticAnswerInput } from './types.js';
import { type EvidenceItem } from './answer-common.js';
export declare function collectAnswerEvidence(store: KnowledgeStore, input: KnowledgeSemanticAnswerInput, spaceId: string, limit: number, objectProfiles: readonly KnowledgeObjectProfilePolicy[]): EvidenceItem[];
export declare function inferObjectLinkedObjects(store: KnowledgeStore, spaceId: string, query: string, objectProfiles: readonly KnowledgeObjectProfilePolicy[]): KnowledgeNodeRecord[];
export declare function filterAnswerLinkedObjects(spaceId: string, query: string, nodes: readonly KnowledgeNodeRecord[], objectProfiles: readonly KnowledgeObjectProfilePolicy[]): readonly KnowledgeNodeRecord[];
export declare function shouldUseEvidenceLinkedObjects(spaceId: string, input: KnowledgeSemanticAnswerInput, inferredObjectLinkedObjects: readonly KnowledgeNodeRecord[]): boolean;
export declare function includeOfficialLinkedSources(store: KnowledgeStore, spaceId: string, rankedSources: readonly KnowledgeSourceRecord[], linkedObjects: readonly KnowledgeNodeRecord[]): readonly KnowledgeSourceRecord[];
export declare function includeOfficialLinkedEvidence(store: KnowledgeStore, spaceId: string, query: string, evidence: readonly EvidenceItem[], linkedObjects: readonly KnowledgeNodeRecord[], limit: number): EvidenceItem[];
export declare function toSearchResult(item: EvidenceItem): KnowledgeSearchResult;
export declare function uniqueNodes(nodes: readonly KnowledgeNodeRecord[]): KnowledgeNodeRecord[];
export declare function withAnswerSourceAliases(source: KnowledgeSourceRecord): KnowledgeSourceRecord;
//# sourceMappingURL=answer-evidence.d.ts.map