import { Component } from '../../../../../shared-logic/src/Component/types';
import { FormattingRuleType } from '../../../../../shared-logic/src/FormattingRule/types';
import { DataSet } from '../../../../../shared-logic/src/DataSet/types';
export declare function useConditionalFormatting(initialFormatting: Component.ConditionalFormatting.Rule | undefined, onAddingFormatting: (formatting: Component.ConditionalFormatting.Rule) => void, ruleType: FormattingRuleType, dataSet: DataSet, enableChangeToNumber?: boolean): {
    completedFilters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[][];
    wipFilters: Partial<import("../../DataPanel/FilterInput/types").CompletedWipFilter>[][];
    handleUpsert: () => void;
    deleteWipFilter: (orFilterIndex: number, andFilterIndex: number) => import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[][];
    updateWipFilter: (wipFilter: Partial<import("../../DataPanel/FilterInput/types").CompletedWipFilter>, orFilterIndex: number, andFilterIndex: number) => void;
    onChange: (partial: Partial<Component.ConditionalFormatting.Rule>) => void;
    disabled: boolean;
    filters: import("../../../../../shared-logic/src/QueryAttributes/types").QueryAttributes.Filter[][];
    ruleValue: string;
    ruleType: FormattingRuleType;
    ruleValueEnd?: string | undefined;
};
