import type { EvaluatorPlugin, EvalContext, EvalResult } from "../plugin-interface.js"; import type { BoberConfig } from "../../config/schema.js"; /** * A generic evaluator that runs an arbitrary shell command. * * This powers two use cases: * 1. Inline `command` field on any strategy (e.g. `{ "type": "k6", "command": "k6 run load.js", "required": false }`) * 2. Fallback for unknown strategy types that have a `command` configured * * Pass criteria: exit code 0 = pass, non-zero = fail. * Output is captured and parsed for common error patterns. */ export declare class CommandRunnerEvaluator implements EvaluatorPlugin { readonly name: string; readonly description: string; private readonly command; private readonly timeout; constructor(name: string, command: string, timeout?: number); canRun(_projectRoot: string, _config: BoberConfig): Promise; evaluate(context: EvalContext): Promise; } /** * Factory: create a CommandRunnerEvaluator from a strategy's command field. */ export declare function createCommandRunnerEvaluator(name: string, command: string, timeout?: number): CommandRunnerEvaluator; //# sourceMappingURL=command-runner.d.ts.map