import { ColumnVirtualizer, Virtualizer } from '../../core/virtual/index.js'; import { type GridState } from '../../core/grid/index.js'; import type { GridFeature, RowNode } from '../../core/types/index.js'; import type { VirtualizationOptions } from './virtualization.types.js'; export declare class Virtualization { #private; readonly virtualizer: Virtualizer; readonly columnVirtualizer: ColumnVirtualizer | null; element: HTMLElement | null; constructor(grid: GridState, options: VirtualizationOptions); isAutoRow: (node: RowNode) => boolean; measureRow: (id: string, height: number) => void; scrollToRow: (target: number | string) => void; ensureVisible: (target: number | string) => void; ensureColVisible: (col: number) => void; } export declare function virtualization(options?: VirtualizationOptions): GridFeature; export declare function getVirtualization(grid: GridState): Virtualization | undefined; declare module '../../core/types/api.js' { interface GridApi { scrollToRow?: (target: number | string) => void; ensureVisible?: (target: number | string) => void; } }