import { Cmd, Copy, From, Run, type Dockerfile } from 'dockerfile-ast'; export type StageInstruction = From | Copy | Cmd | Run; export interface ParsedStage { stage: string; instructions: StageInstruction[]; } export declare function collectStages(parser: Dockerfile): ParsedStage[];