import { SmrtCollection } from '@happyvertical/smrt-core'; import { PipelineStage } from '../models/PipelineStage.js'; export declare class PipelineStageCollection extends SmrtCollection { static readonly _itemClass: typeof PipelineStage; /** * List a pipeline's stages in board order. * * @param pipelineId - Owning PipelineDefinition id * @returns Stages ordered by `sortOrder` ascending */ findByPipeline(pipelineId: string): Promise; /** * Find one stage by its natural key within a pipeline. * * @param pipelineId - Owning PipelineDefinition id * @param key - Stage machine key (e.g. `'proposal'`) * @returns The stage, or null when the key does not exist in the pipeline */ findByKey(pipelineId: string, key: string): Promise; } export default PipelineStageCollection; //# sourceMappingURL=PipelineStageCollection.d.ts.map