import { z } from "zod"; declare const officialConfigSchema: z.ZodObject<{ dataset: z.ZodString; taskNames: z.ZodOptional>; registryUrl: z.ZodOptional; registryPath: z.ZodOptional; agent: z.ZodOptional; agentImportPath: z.ZodOptional; agentKwargs: z.ZodOptional>; model: z.ZodOptional; nConcurrent: z.ZodOptional; nAttempts: z.ZodOptional; nTasks: z.ZodOptional; timeoutMs: z.ZodOptional; extraArgs: z.ZodOptional>; }, z.core.$strip>; export type OfficialBenchConfig = z.infer; export interface OfficialBenchOverrides { taskNames?: string[]; registryUrl?: string; registryPath?: string; agent?: string; agentImportPath?: string; agentKwargs?: Record; model?: string; dataset?: string; nConcurrent?: number; nAttempts?: number; nTasks?: number; timeoutMs?: number; } export interface OfficialBenchSummary { timestamp: string; command: { binary: string; args: string[]; }; runtime: { containerRuntime: "docker" | "podman"; }; exitCode: number; timedOut: boolean; durationMs: number; errorMessage?: string; metrics: { resolvedTrials?: number; unresolvedTrials?: number; accuracyPercent?: number; passAtK: Record; }; runOutputPath?: string; artifacts: { rawStdoutPath: string; rawStderrPath: string; summaryPath: string; }; } export declare function extractTaskNamesFromArgs(args: string[]): string[]; export declare function normalizeHarborFailureMessage(params: { rawMessage: string | undefined; args: string[]; dataset: string; }): string | undefined; export declare function isMissingComposeProviderError(output: string): boolean; export declare function isPodmanBackedDockerVersionOutput(output: string): boolean; export declare function parseHarborRunOutput(output: string): OfficialBenchSummary["metrics"] & { runOutputPath?: string; }; export declare function extractHarborErrorMessage(stderr: string): string | undefined; export declare function buildHarborRunArgs(config: OfficialBenchConfig, overrides: OfficialBenchOverrides): string[]; export declare function loadOfficialBenchConfig(configPath: string): Promise; export declare function createDockerShimScript(targetBinary: string): string; export declare function buildRuntimePathEnv(shimDir: string, basePath?: string): string; export declare function buildPythonPathEnv(pathToAdd: string, basePythonPath?: string): string; export declare function parseDockerHostCandidate(value: string | undefined): string | undefined; export declare function runOfficialTerminalBench(options: { configPath: string; overrides: OfficialBenchOverrides; }): Promise; export {};