import type { KnowledgeEntry, KnowledgeSource, KnowledgeType } from '../types/index.js'; export interface ExtractedKnowledgeCandidate { type?: string; title?: string; content?: string; summary?: string; confidence?: number; tags?: string[]; } export declare function isKnowledgeType(value: string | undefined): value is KnowledgeType; export declare function clampConfidence(value: number | undefined, fallback?: number): number; export declare function generateTitle(content: string): string; export declare function shortenKnowledgeTitle(title: string | undefined, fallbackContent?: string): string; export declare function generateSummary(content: string): string; export declare function uniqueTags(tags: string[] | undefined): string[]; export declare function normalizeForDedupe(content: string): string; export declare function dedupeKey(type: KnowledgeType, content: string): string; export declare function extractJsonBlock(raw: string): unknown; export declare function normalizeKnowledgeCandidates(raw: unknown): ExtractedKnowledgeCandidate[]; export declare function isDuplicateEntry(candidate: Pick, existing: KnowledgeEntry[]): boolean; export declare function buildDerivedSource(baseSource: KnowledgeSource, context: string): KnowledgeSource; //# sourceMappingURL=extraction-utils.d.ts.map