import Context from '../Context';
import Executor, { ExecuteHandler } from '../Executor';
import Task from '../Task';
export default class SerialExecutor<Ctx extends Context> extends Executor<Ctx> {
    /**
     * Execute tasks in sequential order with the output of each
     * task being passed to the next promise in the chain.
     */
    run<T>(handler: ExecuteHandler<Ctx>, tasks: Task<Ctx>[], value?: T): Promise<any>;
}
//# sourceMappingURL=Serial.d.ts.map