/** * Semantic tagging for Iranti knowledge facts. * * Assigns structured metadata (domain, intent, temporal scope, tags) to facts * at write time so retrieval can filter by semantic properties beyond pure * vector similarity. Every call to iranti_write that passes a durableClass * routes through buildSemanticFactTags() to enrich the stored properties. * * Key exports: * - buildSemanticFactTags() — produce the semantic properties block for a write * - semanticMatchScore() — score a stored fact against a SemanticFilter at retrieval * - SemanticFilter — structured filter passed to observe/attend for targeted injection */ type SemanticMemoryScope = 'personal' | 'project'; type MergeStrategy = 'replace' | 'append_dedupe'; export declare function buildSemanticFactTags(input: { memoryScope: SemanticMemoryScope; durableClass: string; mergeStrategy: MergeStrategy; extraTags?: string[]; }): Record; export interface SemanticFilter { domains?: string[]; intents?: string[]; scopes?: string[]; tags?: string[]; } export declare function semanticMatchScore(properties: Record | null | undefined, filter: SemanticFilter): number; export {}; //# sourceMappingURL=semanticFactTags.d.ts.map