import { ThresholdRule, ThresholdColors, Threshold, ThresholdColor } from '../types/threshold-types.js'; /** Returns whether a given value matches a given threshold. * @internal */ export declare function _matchesThreshold(value: number | string, threshold: Threshold | ThresholdRule): boolean; /** * Returns the color of the threshold configuration that matches a given value or * `null` if no threshold matches. * * @param value - The value to compare the threshold value(s) to * @param thresholds - The thresholds to test the value against * @param colorFn - Function that gets called whenever a value matches a threshold * @returns the threshold color for that value or `null` if none applies * * @deprecated This helper function will be removed in 2.0.0. * @public */ export declare function getThresholdColor(value: number | string, thresholds: Threshold[], forBackgroundColor?: boolean, colorFn?: (threshold: Threshold) => ThresholdColor): ThresholdColor | null; /** * Returns the color of the threshold configuration when all combined rules are 'true'. * When some of applied rules are false then the function will return `null`. * @param combinedRules - Multiple thresholds to check the value against * @param allIds - All ids to specify which object thresholds should apply to * @param values - Values to compare the thresholds values to * @param color - Threshold color * @returns color or null * @internal */ export declare function _checkCombinedThresholdRules(combinedRules: ThresholdRule[], allIds: string[], values: Record, color?: string | undefined, backgroundColor?: string | undefined): ThresholdColors;