import { FunctionComponent } from 'react';
import { Component, ComponentType } from '../../../../../shared-logic/src/Component/types';
import { DataSet as DataSetType } from '../../../../../shared-logic/src/DataSet/types';
import { FormattingRuleType } from '../../../../../shared-logic/src/FormattingRule/types';
import { DashboardBehaviour, TextOverride } from '../../../contexts/DashboardBehaviour/types';
import { QueryAttributes } from '../../../../../shared-logic/src/QueryAttributes/types';
import { ListViewItem } from '../../../base/ListView/types';
declare type ConditionalFormattingRule = Component.ConditionalFormatting.Rule;
export declare const ConditionalFormattingRules: FunctionComponent<{
    measure: Array<QueryAttributes.Measure>;
    dimension?: Array<QueryAttributes.Dimension>;
    conditionalFormattingRules: Array<ConditionalFormattingRule>;
    dataSet: DataSetType;
    onSetConditionalFormattingRules: (conditionalFormattingRules: Array<ConditionalFormattingRule>) => void;
    ruleType: FormattingRuleType;
    queryEngineConfig: DashboardBehaviour['queryEngineConfig'];
    componentType: ComponentType;
    numberConditionalFormattingOnly?: boolean;
}>;
export declare function buildConditionalFormattingRules(queryEngineConfig: DashboardBehaviour['queryEngineConfig'], conditionalFormattingRules: Array<ConditionalFormattingRule>, dataSet: DataSetType, textOverride: TextOverride, setConditionalFormattingModal: (value: Component.ConditionalFormatting.Rule) => void): ListViewItem<{}>[];
export {};
