import { type MemoryRoutingContext, type MemorySignalLessons, type MemoryTaskConfidence } from '../memory-routing/types.js'; export interface ResearcherMemoryContext { providerId: string; confidence: MemoryTaskConfidence; matchedSignals: string[]; recommendedAgent: string | null; triggeredBy: 'trap-language' | 'high-confidence-primitives'; /** Graded lines for signals this task already matched. */ lessons?: MemorySignalLessons[]; /** Proposal text used to recall at most one pipeline plate. */ proposalText?: string; } export declare function shouldQueryRepertoireConfidence(description: string, proposalType?: string): boolean; export declare function hasHighConfidencePrimitiveMatch(routingContext: MemoryRoutingContext, minConfidence?: number): boolean; /** * Resolve Repertoire task confidence for researcher proposal analysis. * Triggered by ontological-trap language or high-confidence primitive matches. */ export declare function resolveResearcherMemoryContext(input: { proposalTitle?: string; proposalDescription?: string; proposalType?: string; }): Promise; export declare function buildMemoryRoutingEvidence(context: ResearcherMemoryContext): string[]; export declare function formatMemoryRoutingBlock(context: ResearcherMemoryContext): string;