import React from 'react';
interface IWatchValueProps<T> {
    value: T;
    onChange: (newValue: T, oldValue: T) => void;
    isEqual?: (newValue: T, oldValue: T) => boolean;
}
interface IWatchValueState<T> {
    value: T;
}
export declare class WatchValue<T = any> extends React.Component<IWatchValueProps<T>, IWatchValueState<T>> {
    static defaultProps: Partial<IWatchValueProps<any>>;
    constructor(props: IWatchValueProps<T>);
    componentDidUpdate(): void;
    render(): {};
}
export {};
