import type { ResolvedConfig } from '../config/config.js'; import type { ProductGraph } from '../graph/graph-types.js'; import type { IncrementalSpec } from '../incremental/types.js'; import type { VerificationResult } from '../verification/types.js'; import type { BuildStatus } from './types.js'; import type { ImplementPhaseResult } from '../implement/types.js'; export declare const PIPELINE_PHASES: readonly ["constitution", "compile", "graph", "plan", "workflow", "governance", "docs", "preReview", "implement", "validate", "review", "verify", "audit"]; export type PhaseName = (typeof PIPELINE_PHASES)[number]; export interface PhaseOutcome { readonly phase: PhaseName; readonly index: number; readonly status: 'ok' | 'error' | 'skipped' | 'warn'; readonly detail: string; readonly duration_ms: number; } export interface PipelineOptions { readonly headless?: boolean; readonly noImplement?: boolean; readonly noReview?: boolean; readonly noPreReview?: boolean; readonly dryRun?: boolean; readonly onProgress?: (phase: PhaseName, index: number, total: number) => void; } export interface PipelineResult { readonly status: BuildStatus; readonly phases: readonly PhaseOutcome[]; readonly duration_ms: number; readonly graph: ProductGraph | null; readonly spec: IncrementalSpec | null; readonly verification: VerificationResult | null; readonly implementResult: ImplementPhaseResult | null; } export declare function runPipeline(root: string, config: ResolvedConfig, options?: PipelineOptions): Promise; interface ImplementInstr { readonly taskId: string; readonly nodeId: string; readonly module: string; readonly action: string; readonly nodeKind: string; readonly context: string; readonly relatedEdges: readonly string[]; } export declare function buildImplementPrompt(instr: ImplementInstr, graph: ProductGraph): string; export {}; //# sourceMappingURL=pipeline.d.ts.map