/**
 * Pipeline CLI Command
 *
 * Commander.js subcommand for managing and running pipelines.
 * Supports running from YAML/JSON files, listing, validating, and status checks.
 */
import { Command } from 'commander';
/**
 * Pipeline definition loaded from a file (YAML/JSON)
 */
export interface PipelineFileDefinition {
    name: string;
    description?: string;
    version?: string;
    steps: Array<{
        name: string;
        type?: 'tool' | 'skill' | 'function' | 'transform';
        args?: Record<string, unknown>;
        timeout?: number;
        label?: string;
    }>;
    config?: {
        maxSteps?: number;
        defaultTimeout?: number;
        maxDurationMs?: number;
    };
}
/**
 * Validation result for a pipeline file
 */
export interface PipelineValidationResult {
    valid: boolean;
    errors: string[];
    warnings: string[];
    stepCount: number;
    pipelineName: string;
}
/**
 * Load a pipeline definition from a YAML or JSON file.
 * Uses lazy imports for yaml parsing.
 */
export declare function loadPipelineFile(filePath: string): Promise<PipelineFileDefinition>;
/**
 * Validate a pipeline definition and return structured results.
 */
export declare function validatePipelineDefinition(definition: PipelineFileDefinition): PipelineValidationResult;
/**
 * Create the pipeline Commander.js command.
 */
export declare function createPipelineCommand(): Command;
export default createPipelineCommand;
