/** * Resolves a promise or an array of promises and returns a tuple: [err, data] * @param promises - a promise or an array of promises to be resolved * @param onlyPromises - a boolean (default true). If true: errors when non promises are passed in. if false: returns the object passed to it instead. * @return a Promise which resolves to a tuple of type [null | Error, any] */ export declare type Iuntil = (promises: Array> | Promise | any, promisesOnly?: boolean) => Promise<[null | Error, any]>; declare const until: Iuntil; /** * Resolves a promise or an array of promises and returns a tuple: [err, data] * @param a promise or an array of promises to be resolved * @return a Promise which resolves to a tuple of type [null | Error, any] */ declare const s: Iuntil; export { until, s };