/** * Asynchronously maps the values of an object using an async mapping function. * * Iterates over the object's own enumerable string keys, * calls the given async function for each `[key, value]` pair, * and returns a Promise that resolves to a new object with the same keys * and the resolved mapped values. * * All mapping operations run in parallel using `Promise.all`. * * @typeParam T - The type of the input object’s values. * @typeParam P - The type of the resolved output object’s values. * @param obj - The object whose values should be mapped. * @param fn - An async function that receives the value and key, and resolves to a new value. * @returns A Promise that resolves to a new object with the same keys and transformed values. * * @example * ```ts * const input = { a: 1, b: 2 }; * const result = await mapObjectAsync(input, async (v) => v * 2); * // { a: 2, b: 4 } * ``` */ export declare function mapObjectAsync(obj: Record, fn: (v: T, k: string) => Promise

): Promise>; //# sourceMappingURL=map-object-async.d.ts.map