/** * Resolve every value in an object that may be a Promise. Returns a Promise * of the same shape with each value awaited. * * @example * promiseAll({ from: fromPromise, to: toPromise, count: 7 }) * .then(({ from, to, count }) => …) * * Useful inside transition presets that need both `from` and `to` resolved * before they can compute layout-derived state. */ type Awaited = T extends Promise ? U : T; export type AwaitedObject = { [K in keyof T]: Awaited; }; export declare function promiseAll>(obj: T): Promise>; export {}; //# sourceMappingURL=promise-all.d.ts.map