import * as React from "react"; import { IOWidget } from "../shared/widget"; export interface ShouldComponentUpdateProps { p: (prev: s, next: s) => boolean; input: s; widget_s: IOWidget; on_done_s: (output_s: s) => void; } export interface ShouldComponentUpdateState { } export declare class ShouldComponentUpdate extends React.Component, ShouldComponentUpdateState> { constructor(props: ShouldComponentUpdateProps, context: any); shouldComponentUpdate(nextProps: ShouldComponentUpdateProps): boolean; render(): JSX.Element; } export declare let shouldComponentUpdate: (p: (prev: s, next: s) => boolean) => (widget_s: IOWidget) => IOWidget;