import { Component } from 'react'; export interface IShouldUpdateProps { props: any; when: (newProps: any, oldProps: any) => boolean; } export interface IShouldUpdateState { } export declare class ShouldUpdate extends Component { shouldComponentUpdate(props: any): boolean; render(): any; } export declare const shouldUpdate: (when: any) => (Comp: any) => (props: any) => import("react").ComponentElement;