import type { ExperimentRecord } from "./experiment-log.js"; export interface Pattern { description: string; successRate: number; sampleSize: number; metricGain: number; } export interface DecisionContext { agentId: string; currentMetrics: Record; taskDescription: string; } /** * Identify patterns from experiment history for a given metric. * Groups by hypothesis prefix words and calculates success rates. */ export declare function identifyPatterns(history: ExperimentRecord[], metric: string): Pattern[]; /** * Suggest next experiments based on successful patterns and current context. */ export declare function suggestNext(context: DecisionContext, patterns: Pattern[]): string[]; //# sourceMappingURL=pattern-learner.d.ts.map