type FinishStatus = "blocked" | "fail" | "pass" | "unknown"; type SurfaceDefaultState = "default" | "off" | "opt-in" | "unknown"; type ClosureRunMetrics = { readonly closureBlockerDelta: number | null; readonly closureBlockersAfter: number | null; readonly closureBlockersBefore: number | null; readonly continuationApplied: boolean | null; readonly earlyCompletionBlocked: boolean | null; readonly finishStatusAfter: FinishStatus | null; readonly finishStatusBefore: FinishStatus | null; readonly retryCapHit: boolean | null; readonly runawayRetries: number | null; }; type TokenAggregate = { readonly cacheRead: number | null; readonly cacheWrite: number | null; readonly input: number | null; readonly output: number | null; readonly reasoning: number | null; readonly total: number | null; }; export type EvidenceAbRunOptions = { readonly env?: Readonly>; readonly projectDir?: string; }; export type AbRunConfig = { readonly blockedInvalidCompletion: boolean | null; readonly closure: ClosureRunMetrics; readonly command: readonly string[]; readonly condition: string; readonly conditionLabel: string | null; readonly elapsedMs: number | null; readonly finishStatus: FinishStatus | null; readonly mcpCalls: number | null; readonly outcome: string | null; readonly providerTokens: TokenAggregate | null; readonly readChars: number | null; readonly runId: string | null; readonly scenario: string; readonly scenarioLabel: string | null; readonly source: string | null; readonly surface: { readonly defaultState: SurfaceDefaultState; readonly id: string | null; readonly label: string | null; }; readonly toolCalls: number | null; }; export type AbRunRecord = { readonly closureBlockerDelta: number | null; readonly closureBlockersAfter: number | null; readonly closureBlockersBefore: number | null; readonly command: readonly string[]; readonly continuationApplied: boolean | null; readonly earlyCompletionBlocked: boolean | null; readonly elapsedMs: number | null; readonly exitStatus: number | null; readonly finishStatus: FinishStatus; readonly finishStatusAfter: FinishStatus | null; readonly finishStatusBefore: FinishStatus | null; readonly id: string; readonly mcpCalls: number | null; readonly outcome: string; readonly providerTokens: TokenAggregate | null; readonly readChars: number | null; readonly retryCapHit: boolean | null; readonly runawayRetries: number | null; readonly signal: string | null; readonly stderrChars: number; readonly stdoutChars: number; readonly toolCalls: number | null; }; export declare const EVIDENCE_AB_RUN_USAGE: string; export declare function safeEvidenceSlug(value: string): string; export declare function parseAbRunConfig(args: readonly string[]): AbRunConfig | undefined; export {};