import type { AgentRelayOptions } from '../relay.js';
import type { DryRunReport, TrajectoryConfig, WorkflowRunRow } from './types.js';
import { type WorkflowEventListener, type VariableContext } from './runner.js';
/**
 * Options for the `runWorkflow` convenience function.
 */
export interface RunWorkflowOptions {
    /** Workflow name within the YAML file. Defaults to the first workflow. */
    workflow?: string;
    /** Template variable substitutions for {{variable}} placeholders. */
    vars?: VariableContext;
    /** Working directory. Defaults to process.cwd(). */
    cwd?: string;
    /** AgentRelay options (all optional — broker starts automatically). */
    relay?: AgentRelayOptions;
    /** Progress callback for workflow events. */
    onEvent?: WorkflowEventListener;
    /** Override trajectory config. Set to false to disable trajectory recording. */
    trajectories?: TrajectoryConfig | false;
    /** Validate and show execution plan without running. */
    dryRun?: boolean;
}
/**
 * Run a workflow from a relay.yaml file with zero configuration.
 *
 * @example
 * ```typescript
 * import { runWorkflow } from "@agent-relay/sdk/workflows";
 *
 * const result = await runWorkflow("workflows/daytona-migration.yaml");
 * console.log(result.status); // "completed" | "failed"
 * ```
 */
export declare function runWorkflow(yamlPath: string, options: RunWorkflowOptions & {
    dryRun: true;
}): Promise<DryRunReport>;
export declare function runWorkflow(yamlPath: string, options?: RunWorkflowOptions): Promise<WorkflowRunRow>;
//# sourceMappingURL=run.d.ts.map