import type { BenchCell, BenchCellResult, BenchRunResult, BenchTask } from "./types.js";
export interface CellExecutionRequest extends BenchCell {
    prompt: string;
    cwd: string;
}
export type CellExecutor = (request: CellExecutionRequest) => Promise<Omit<BenchCellResult, keyof BenchCell | "wall_ms" | "status">>;
export declare function extractTokenCount(stdout: string, stderr: string): number | undefined;
export declare function executeCellViaAgentsRun(request: CellExecutionRequest): ReturnType<CellExecutor>;
export declare function runCells(options: {
    task?: BenchTask;
    prompt: string;
    cells: BenchCell[];
    concurrency: number;
    execute?: CellExecutor;
    tempRoot?: string;
}): Promise<BenchRunResult>;
