import type { ProjectKnowledge, ContributedContext, ContextConflict, ContextMergeResult } from '../types/index.js';
/**
 * Inspect the current knowledge and return a list of areas that need
 * additional documentation from the user.
 */
export declare function detectMissingAreas(knowledge: ProjectKnowledge): string[];
/**
 * Build an agent-idiomatic prompt that asks the user to share reference docs.
 * The prompt explains what types of files are accepted and what areas need coverage.
 */
export declare function buildRequestPrompt(missingAreas: string[], knowledge: ProjectKnowledge): string;
/**
 * Compare auto-detected knowledge with contributed context and return
 * a list of conflicting fields that the agent must resolve.
 */
export declare function detectConflicts(existing: ProjectKnowledge, contributed: ContributedContext): ContextConflict[];
/**
 * Merge contributed context into existing knowledge.
 * Auto-detected values are NEVER overwritten — conflicts are reported instead.
 * Returns the list of fields that were successfully merged and any conflicts found.
 */
export declare function mergeContext(existing: ProjectKnowledge, contributed: ContributedContext): ContextMergeResult;
//# sourceMappingURL=context-merger.d.ts.map