/**
 * pipeline/agent-behavior-report.ts
 *
 * Pure analysis functions for agent behavior observation reports.
 * No I/O, no process.env, no process.argv — all data is passed in.
 */
import type { TestResult } from "../_vendor/ailf-core/index.d.ts";
import type { AgentBehaviorSummary } from "../agent-observer/types.js";
export type { TestResult } from "../_vendor/ailf-core/index.d.ts";
export interface PromptfooResults {
    results: TestResult[];
}
export interface PromptfooResultsEnvelope {
    results: {
        results: TestResult[];
    };
}
export interface TaskBehavior {
    behavior: AgentBehaviorSummary;
    description: string;
    feature: string;
    hasDocs: boolean;
}
export interface FeatureAnalysis {
    allDocSlugs: string[];
    allExternalDomains: string[];
    allSearchQueries: string[];
    avgDocPages: number;
    avgNetworkMs: number;
    avgSearches: number;
    canonicalCoverage: number;
    canonicalSlugs: string[];
    feature: string;
    tasks: TaskBehavior[];
}
export interface AnalysisResult {
    features: FeatureAnalysis[];
    hasData: boolean;
    tasks: TaskBehavior[];
}
export declare const CANONICAL_DOC_MAP: Record<string, string[]>;
export declare function detectFeatureArea(description: string): string;
/**
 * Analyze pre-parsed test results for agent behavior patterns.
 * Caller is responsible for reading/parsing the file — this function is pure.
 */
export declare function analyzeResults(results: TestResult[]): AnalysisResult;
