import type { KnowledgeStore } from '../store.js';
import type { KnowledgeNodeRecord, KnowledgeSourceRecord } from '../types.js';
import type { KnowledgeSemanticLlm } from './types.js';
export interface KnowledgeSemanticEnrichmentContext {
    readonly store: KnowledgeStore;
    readonly llm?: KnowledgeSemanticLlm | null | undefined;
}
export interface EnrichKnowledgeSourceOptions {
    readonly force?: boolean | undefined;
    readonly knowledgeSpaceId?: string | undefined;
}
export interface PersistedSemanticExtraction {
    readonly source: KnowledgeSourceRecord;
    readonly skipped: boolean;
    readonly reason?: string | undefined;
    readonly extractor?: 'llm' | 'deterministic' | undefined;
    readonly facts: readonly KnowledgeNodeRecord[];
    readonly entities: readonly KnowledgeNodeRecord[];
    readonly wikiPage?: KnowledgeNodeRecord | undefined;
    readonly gaps: readonly KnowledgeNodeRecord[];
}
export declare function enrichKnowledgeSource(context: KnowledgeSemanticEnrichmentContext, source: KnowledgeSourceRecord, options?: EnrichKnowledgeSourceOptions): Promise<PersistedSemanticExtraction>;
//# sourceMappingURL=enrichment.d.ts.map