/// <reference types="hoist-non-react-statics" />
import * as React from 'react';
import { IRule } from '../../../../constants/metric-panel-style';
import { IStatusPanelContextValue } from '../context';
interface IRuleProps {
    className?: string;
    value: IRule;
    onChange: (value: IRule) => void;
}
declare class Rule extends React.Component<Omit<IRuleProps & IStatusPanelContextValue, 'levelOptions' | 'getPopupContainer'>, any> {
    handleChange(props: string, newValue: any): void;
    render(): React.JSX.Element;
}
declare const _default: React.FunctionComponent<Pick<Pick<IRuleProps & IStatusPanelContextValue, "value" | "className" | "onChange" | "fieldOptions" | "stringFields">, "value" | "className" | "onChange">> & import("hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Pick<IRuleProps & IStatusPanelContextValue, "value" | "className" | "onChange" | "fieldOptions" | "stringFields">, any> & typeof Rule) | (React.FunctionComponent<Pick<IRuleProps & IStatusPanelContextValue, "value" | "className" | "onChange" | "fieldOptions" | "stringFields">> & typeof Rule), {}>;
export default _default;
