declare function shallowEqual( objA: any, objB: any, customizer?: shallowEqual.Customizer, compareContext?: TCtx, ): boolean; declare namespace shallowEqual { type Customizer = ( this: T, objA: any, objB: any, indexOrKey?: number | string, ) => boolean | void; } export = shallowEqual;