/// <reference types="react" />
export declare type MouseEventHandler = (event: React.MouseEvent<HTMLInputElement, MouseEvent> | React.MouseEvent<HTMLTextAreaElement, MouseEvent>) => void;
export interface State {
    hovered: boolean;
}
export interface BaseComponentProps {
    hovered?: boolean;
    onMouseEnter?: MouseEventHandler;
    onMouseLeave?: MouseEventHandler;
}
export declare const withHoveredState: () => <BP extends BaseComponentProps>(BaseComponent: import("react").ComponentType<BP>) => import("react").ComponentClass<BP, any>;
export default withHoveredState;
//# sourceMappingURL=withHoveredState.d.ts.map