import type { CommandRunner, CommandRunnerResult } from "../../agent-spawn/dist/index.js"; import type { AutomationDefinition } from "./types.js"; export declare function resolveWorkflowAgent(automation: AutomationDefinition): string; export declare function formatCommandFailure(command: string, args: string[], result: CommandRunnerResult): string; export declare function setupWorkflowAgent(automation: AutomationDefinition, cwd: string, runner?: CommandRunner): Promise;