import type { ComparisonOperators, MatchValue } from '../types/color-rule.js'; export type Range = { from: number; to: number; }; type ValueMatcher = Record(subject: T, value: T) => boolean>; export type RangeComparisonOperators = 'less-than' | 'less-or-equal' | 'greater-than' | 'greater-or-equal' | 'equals' | 'not-equals'; type RangeMatcher = Record boolean>; export declare const VALUE_MATCHERS: ValueMatcher; export declare const RANGE_MATCHERS: RangeMatcher; export declare const isRangeOperator: (operator: string) => operator is RangeComparisonOperators; export declare function buildValidator(matchers: ValueMatcher): (subject: T, comparator: ComparisonOperators, value: T) => boolean; export declare function buildValidator(matchers: RangeMatcher): (subject: Range, comparator: RangeComparisonOperators, value: number) => boolean; export {};