import { PinionContext, Callable } from '../core'; /** * Conditionally run an operation * * @param condition The condition to evaluate * @param operation The operation to run when the condition is true * @returns The updated context */ export declare const when: (condition: Callable, ...operations: ((ctx: C) => Promise)[]) => (ctx: C) => Promise;