import type { BenchmarkStats, HumanEvalProblem } from "../types.js";
interface ProblemResult {
    completionTokens: number;
    latencyMs: number;
    passed: boolean;
    promptTokens: number;
    success: boolean;
    timeToFirstTokenMs: number;
}
export declare function evaluateCodeCompletion(options: {
    apiKey: string;
    completionEndpoint: string;
    concurrency: number;
    endpointID: string;
    onProgress?: (completed: number, total: number) => void;
    problems: HumanEvalProblem[];
}): Promise<BenchmarkStats>;
export declare function buildStats(results: ProblemResult[], problemCount: number): BenchmarkStats;
export declare function stripMarkdownFences(code: string): string;
export {};
