import { ActionResult } from "./ActionResult"; export declare type TOp = (p: T) => Promise; export declare type TAction = (t: T) => Promise>; export declare type Chainable = TAction | TOp; /** * Chain the actions, in the given order * @param {ProjectEditor} steps * @return {ProjectEditor} */ export declare function actionChain(...steps: Array>): TAction; export declare function actionChainWithCombiner = ActionResult>(combiner: (a: R, b: R) => R, ...steps: Array>): TAction; /** * Useful starting point for chaining */ export declare const NoAction: TAction; //# sourceMappingURL=actionOps.d.ts.map