import type { Keys } from "./keys"; export declare type MapCallback = (key: Keys, value: T[typeof key], object: T) => [key: PropertyKey, value: any]; /** * Transform an object without mutating the original. * * @param object The original object. * @param callback The map method calls the callback function one time for each element in the array. */ export declare function map(object: Readonly, callback: MapCallback): R;