/**
 * Pipeline runner — validate and execute brocli-style YAML browser pipelines.
 */
import type { BrowserActionContext, BrowserActionRegistry, BrowserActionResult } from '../actions/types.js';
import { type PipelineDocument } from './schema.js';
export interface ValidateResult {
    ok: boolean;
    document?: PipelineDocument;
    errors: {
        path: string;
        message: string;
    }[];
}
/**
 * Parse and validate a pipeline YAML without executing it.
 */
export declare function validateBrowserPipeline(yamlSource: string, registry?: BrowserActionRegistry): ValidateResult;
/**
 * Run a browser pipeline from YAML source.
 *
 * @param yamlSource - Raw YAML text.
 * @param argOverrides - Runtime argument overrides.
 * @param ctx - Browser action context (page, manager, config, etc.).
 * @param registry - Action registry.
 * @param dryRun - When true, only validate without executing.
 */
export declare function runBrowserPipeline(yamlSource: string, argOverrides: Record<string, unknown>, ctx: BrowserActionContext, registry: BrowserActionRegistry, dryRun?: boolean): Promise<BrowserActionResult>;
