import { ComponentType } from 'react'; export type Diff = Pick>; /** * TODO: Avoid diffing by passing individual values into a React component * rather than the whole `store`, and letting React and `shouldComponentUpdate` * handle diffing for us. */ export declare function equals(a: T, b: T): boolean; export type Immutable = { equals(b: any): boolean; }; export declare function isImmutable(a: any): a is Immutable; export declare function getDisplayName(Component: ComponentType): string; export declare function keys(o: O): (keyof O)[]; export declare function mapValues(o: O, f: (value: O[K], key: K) => T): { [K in keyof O]: T; }; export declare function some(o: O, f: (v: O[K], k: K) => boolean): boolean;