import * as React from 'react';
import { IChartField } from '@qn-pandora/app-sdk';
import { IRule, ILevel } from '../../../../constants/metric-panel-style';
import { IKeyValues } from '../../../../models/base';
interface IConfigerProps {
    levels?: ILevel[];
    fields?: IChartField[];
    value?: IRule[];
    onChange?: (value: IRule[]) => void;
    getPopupContainer?: () => HTMLElement;
}
export default class RuleConfiger extends React.Component<IConfigerProps, any> {
    get statusPanelContext(): {
        levelOptions: IKeyValues<string>;
        fieldOptions: {
            text: string;
            value: string;
            disabled: boolean;
        }[];
        stringFields: string[];
        getPopupContainer: (() => HTMLElement) | undefined;
    };
    handleCreate(): void;
    handleChange(oldRule: IRule, newRule: IRule): void;
    handleDelete(rule: IRule): void;
    render(): React.JSX.Element;
}
export {};
