import { RegularTableElement } from "regular-table"; import type { DatagridModel, DatagridPluginElement, SelectedPositionMap } from "../types.js"; import type { HTMLPerspectiveViewerElement } from "@perspective-dev/viewer"; /** * Consolidated style listener that handles all cell styling in a single pass. * This eliminates redundant DOM traversals and reduces layout thrashing by: * 1. Collecting all cell metadata in a read phase * 2. Applying all styles in a write phase */ export declare function createConsolidatedStyleListener(datagrid: DatagridPluginElement, model: DatagridModel, regularTable: RegularTableElement, viewer: HTMLPerspectiveViewerElement, selectedPositionMap: SelectedPositionMap): () => void;