/**
 * Pipeline Architecture Diagram — multi-level hierarchy from pipeline YAML.
 * Shows: Pipeline → Stages → Step Groups → Steps, with deployment strategy,
 * rollback paths, service/infra refs, and failure handling.
 */
interface ParsedStep {
    name: string;
    type: string;
    timeout?: string;
    status?: string;
}
interface ParsedStepGroup {
    name: string;
    steps: ParsedStep[];
}
interface ParsedStage {
    name: string;
    type: string;
    strategy?: string;
    service?: string;
    environment?: string;
    infrastructure?: string;
    stepGroups: ParsedStepGroup[];
    rollbackSteps: ParsedStep[];
    failureStrategy?: string;
    status?: string;
}
interface ParsedPipeline {
    name: string;
    identifier: string;
    stages: ParsedStage[];
}
export declare function parsePipelineYaml(yamlObj: unknown): ParsedPipeline | null;
export interface ArchitectureOptions {
    width?: number;
    maxSteps?: number;
}
export declare function renderArchitectureSvg(pipeline: ParsedPipeline, options?: ArchitectureOptions): string;
export {};
//# sourceMappingURL=architecture.d.ts.map