import type { HistoricalAdjustment, ModelOutcome, ModelTier } from '../../types/index.js';
/** Record a model outcome for future learning. */
export declare function recordOutcome(outcome: ModelOutcome): void;
/** Get all recorded outcomes (for testing / export). */
export declare function getOutcomes(): readonly ModelOutcome[];
/** Clear all outcomes (for testing). */
export declare function clearOutcomes(): void;
/** Load outcomes from an external source (e.g. JSON file). */
export declare function loadOutcomes(loaded: ModelOutcome[]): void;
/**
 * Find outcomes whose taskSignature matches the given signature.
 * Uses exact match for now; vector similarity can be added later (SPEC-075).
 */
export declare function findSimilarOutcomes(taskSignature: string): ModelOutcome[];
/**
 * Compute a task signature from a description or spec ID.
 * For now this is a simple normalisation; in the future it can use embeddings.
 */
export declare function computeTaskSignature(text: string): string;
/**
 * Given the rules engine recommendation and a task signature,
 * adjust the tier based on historical outcomes.
 * Maximum adjustment: plus or minus 1 tier.
 */
export declare function adjustFromHistory(recommendedModel: ModelTier, taskSignature: string): HistoricalAdjustment;
//# sourceMappingURL=historical-learner.d.ts.map