/** * Artifact Collector — gathers artifact references from pipeline stages. * * Walks every required stage in a PipelineState and collects: * - ArtifactRef[] (flattened, deduplicated by id) * - StageRecord[] (ordered by pipeline sequence) */ import type { PipelineState, ArtifactRef, StageRecord } from '../types/index.js'; export declare const ENDGAME_ARTIFACT_TYPES: { readonly README_DIFF: "readme_diff"; readonly VERSION_CHANGE: "version_change"; readonly PUBLISH_RESULT: "publish_result"; readonly GAP_SCAN_REPORT: "gap_scan_report"; }; export type EndgameArtifactType = (typeof ENDGAME_ARTIFACT_TYPES)[keyof typeof ENDGAME_ARTIFACT_TYPES]; /** Collect all artifacts from every required stage, deduplicated by id. */ export declare function collectArtifacts(state: PipelineState): ArtifactRef[]; /** Collect stage records in pipeline-defined order. */ export declare function collectStageRecords(state: PipelineState): StageRecord[]; /** * Check whether all required (non-skipped) stages have passed. * Skipped stages are considered acceptable for delivery. */ export declare function allRequiredStagesPassed(state: PipelineState): boolean; /** Collect clarificationRefs from all required stages, deduplicated by id. */ export declare function collectClarificationRefs(state: PipelineState): ArtifactRef[]; export declare function inferEndgameArtifactType(filePath: string): EndgameArtifactType | null; //# sourceMappingURL=artifact-collector.d.ts.map