/** * @module common */ /** End Typedoc Module Declaration */ export interface PromiseFactory { (arg?: any, ...args: any[]): T | Promise; } /** * Invoke a series of promise factories one after the other, only kicking off the next promise * when the prior one resolves. * @param promiseFactories * @returns {Promise} * @param thisArg * @param args * @param initialValue */ export declare function serialPromise(promiseFactories: PromiseFactory[], initialValue: T, thisArg?: any, ...args: any[]): Promise;