import type { SpreadsheetRange } from '../types'; import type { SpreadsheetConditionalFormattingRule } from './types'; /** 按范围查询条件格式规则,避免渲染器逐单元格扫描整张规则表。 */ export declare class ConditionalFormattingIndex { private readonly entries; constructor(rules: readonly SpreadsheetConditionalFormattingRule[]); /** 返回与当前可见范围相交且按优先级排序的规则。 */ query(range: SpreadsheetRange): SpreadsheetConditionalFormattingRule[]; }