import type Eval from '../../models/eval';
import type EvalResult from '../../models/evalResult';
import type { EvaluateTableOutput, EvaluateTableRow } from '../../types';
export declare function getHeaderForTable(eval_: Eval): {
    vars: string[];
    prompts: {
        provider: string;
        raw: string;
        label: string;
        function?: ((args_0: {
            vars: Record<string, any>;
            provider?: import("../../types").ApiProvider | undefined;
        }, ...args: unknown[]) => Promise<any>) | undefined;
        id?: string | undefined;
        config?: any;
        display?: string | undefined;
        metrics?: {
            cost: number;
            tokenUsage: {
                cached?: number | undefined;
                completion?: number | undefined;
                prompt?: number | undefined;
                total?: number | undefined;
                numRequests?: number | undefined;
            };
            score: number;
            testPassCount: number;
            testFailCount: number;
            testErrorCount: number;
            assertPassCount: number;
            assertFailCount: number;
            totalLatencyMs: number;
            namedScores: Record<string, number>;
            namedScoresCount: Record<string, number>;
            redteam?: {
                pluginPassCount: Record<string, number>;
                pluginFailCount: Record<string, number>;
                strategyPassCount: Record<string, number>;
                strategyFailCount: Record<string, number>;
            } | undefined;
        } | undefined;
    }[];
};
export declare function convertEvalResultToTableCell(result: EvalResult): EvaluateTableOutput;
export declare function convertTestResultsToTableRow(results: EvalResult[], varsForHeader: string[]): EvaluateTableRow;
//# sourceMappingURL=index.d.ts.map