import { type Node } from '../formula/index.js'; import type { FormatRule } from './conditional-formatting.types.js'; import type { RuleStats } from './stats.js'; export interface Paint { class?: string; style?: Record; } export interface PaintContext { value: unknown; rowId: string; read: (columnId: string) => unknown; node: Node | null; highlight: string; } export declare function paintOf(rule: FormatRule, stats: RuleStats, context: PaintContext): Paint | undefined; export declare const isPainted: (paint: Paint | undefined) => boolean; export declare function mergePaint(base: Paint | undefined, next: Paint): Paint;