type InnerMappedValues = { [MappedProp in keyof EntireInputGeneric]: MappedValueGeneric; }; type MappedValues = MappedValueGeneric extends PromiseLike ? Promise>> : InnerMappedValues>; /** * Creates a new object with the same keys as the input object, but with values set to the result of * `mapCallback` for each property. This is the same as {@link mapObjectValues} except that this * preserves Promise values: it doesn't wrap them all in a single promise. * * @category Object * @category Package : @augment-vir/common * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common) */ export declare function mapObjectValuesSync(inputObject: EntireInputGeneric, mapCallback: (inputKey: keyof EntireInputGeneric, keyValue: Required[typeof inputKey], fullObject: EntireInputGeneric) => MappedValueGeneric): InnerMappedValues; /** * Creates a new object with the same keys as the input object, but with values set to the result of * `mapCallback` for each property. Automatically handles an async `mapCallback`. * * @category Object * @category Package : @augment-vir/common * @example * * ```ts * import {mapObjectValues} from '@augment-vir/common'; * * mapObjectValues({a: 1, b: 2}, (key, value) => { * return `key-${key} value-${value}`; * }); * // output is `{a: 'key-a value-1', b: 'key-b value-2'}` * ``` * * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common) */ export declare function mapObjectValues(inputObject: EntireInputGeneric, mapCallback: (inputKey: keyof EntireInputGeneric, keyValue: Required[typeof inputKey], fullObject: EntireInputGeneric) => MappedValueGeneric): MappedValues; export {};