/** * ArtifactStore — In-memory + disk-backed artifact storage * * Manages the pipeline artifacts that flow between agents. Each artifact * is versioned so agents can revise earlier outputs. */ import type { PipelineArtifact } from './types.js'; export declare class ArtifactStore { private artifacts; /** Store an artifact, incrementing version if one exists with the same name */ set(artifact: PipelineArtifact): void; /** Get the latest version of an artifact by name */ get(name: string): PipelineArtifact | undefined; /** Get all artifacts */ getAll(): PipelineArtifact[]; /** Check if an artifact exists */ has(name: string): boolean; /** Save all artifacts to a directory on disk */ saveToDisk(dir: string): Promise; /** Load artifacts from a directory on disk */ static loadFromDisk(dir: string): Promise; /** Serialize to JSON for pipeline state persistence */ toJSON(): Record; /** Deserialize from JSON */ static fromJSON(data: Record): ArtifactStore; } //# sourceMappingURL=artifact-store.d.ts.map