export declare function map(fn?: (key: string | number, value: any) => any): (object: any) => any;