/** * Chains promises in a sequential order * * @param promises The promise returning functions array in the order they should be executed * @returns A promise that resolves when all the promises in the array are resolved. The promise resolves with the value of the last promise in the array */ export declare function chain(promises: (() => Promise)[]): Promise;