export declare function mapValues(obj: { [key: string]: T; }, mapper: (value: T, key: string) => R | null): { [key: string]: R; };