/** * Native Promise utilities to replace bluebird. * These are drop-in replacements for the bluebird methods we use. */ /** * Promise.props replacement - resolves an object of promises. */ export declare function promiseProps>(obj: T): Promise<{ [K in keyof T]: Awaited; }>; /** * Promise.try replacement - wraps a function to catch sync errors. */ export declare function promiseTry(fn: () => T | Promise): Promise; /** * Promise.map replacement - maps over array with concurrency. */ export declare function promiseMap(arr: T[], fn: (item: T, index: number) => R | Promise): Promise; //# sourceMappingURL=promise-utils.d.ts.map