import { Result, FxError, PluginContext } from "@microsoft/teamsfx-api"; export declare type LifecyclesWithContext = [ OmitThisParameter<(ctx: PluginContext) => Promise>> | undefined, PluginContext, string ]; /** * Execute plugin lifecycles one by one with its associated context. * */ export declare function executeSequentially(step: string, lifecycleAndContext: LifecyclesWithContext[]): Promise>; /** * ConcurrentExecutor will concurrently run the plugin lifecycles with * its associated context. * * Currently, on success, return value is discarded by returning undefined on sucess. */ export declare function executeConcurrently(step: string, lifecycleAndContext: LifecyclesWithContext[]): Promise>; /** * Executes preLifecycles, lifecycles, postCycles in order. If one of the steps failes, following steps won't run. * * @param preLifecycles * @param lifecycles * @param postLifecycles */ export declare function executeLifecycles(preLifecycles: LifecyclesWithContext[], lifecycles: LifecyclesWithContext[], postLifecycles: LifecyclesWithContext[], onPreLifecycleFinished?: () => Promise>, onLifecycleFinished?: () => Promise>, onPostLifecycleFinished?: () => Promise>): Promise>; //# sourceMappingURL=executor.d.ts.map