import { ISingleAffix } from './single-style';
export declare const Infinity: number;
export declare enum EColorMode {
    NORMAL = "normal",
    INVERTED = "inverted"
}
export interface ILevel {
    key: string;
    name: string;
    color: string;
}
export interface IThreshold<T = number> {
    value: T;
    level: string;
}
export declare type IRule = {
    key: string;
    type: 'number';
    fieldKey: string;
    thresholds: Array<IThreshold<number>>;
} | {
    key: string;
    type: 'string';
    fieldKey: string;
    thresholds: Array<IThreshold<string>>;
};
export interface IDataConfig {
    unit: string[];
    precision: number;
}
export declare enum EThresholdBoundValue {
    Min = "-\u221E",
    Max = "+\u221E"
}
export interface IMetricStyle {
    metric: string;
    fontSize: number;
    prefix: ISingleAffix;
    suffix: ISingleAffix;
    showMetricName?: boolean;
}
export interface IMetricThreshold<T = number | string> {
    value: T;
    color: string;
}
export declare type IMetricColor = {
    key: string;
    type: 'number';
    fieldKey: string;
    thresholds: Array<IMetricThreshold<number>>;
} | {
    key: string;
    type: 'string';
    fieldKey: string;
    thresholds: Array<IMetricThreshold<string>>;
};
export declare const defaultLevels: {
    key: string;
    name: string;
    color: string;
}[];
export declare const defaultProperty: {
    width: number;
    height: number;
    titleFontSize: number;
    contentFontSize: number;
};
export declare const defaultDataConfig: {
    unit: string[];
    precision: number;
};
export declare const defaultMetricStyle: IMetricStyle;
export declare enum EArrangement {
    Col = "col",
    Row = "row"
}
export declare enum ETitleIconColor {
    Field = "field",
    System = "system"
}
export interface ITitleIconColor {
    type: ETitleIconColor;
    field?: string;
}
export interface ITitle {
    field: string;
    color: string;
    icon?: string;
}
export interface ITitleIcon {
    open: boolean;
    color: ITitleIconColor;
    icon?: string;
    titles?: ITitle[];
    width: number;
}
export declare const defaultIcon: {
    open: boolean;
    color: {
        type: ETitleIconColor;
    };
    width: number;
};
