/** * A single step to execute in a series of steps. */ export type Step> = { name: string; condition?: (context: Context) => boolean; task: (context: Context) => void; }; /** * A list of steps to execute in series. */ export type Steps> = Readonly[]>; /** * Execute a list of steps in series. Each step receives the context object, * and can conditionally execute based on the context. * * @param steps - The steps to execute. * @param context - The context object that will be passed to each step. * @param verbose - Whether to log each step as it is executed. */ export declare function executeSteps>(steps: Steps, context: Context, verbose?: boolean): void; //# sourceMappingURL=steps.d.ts.map