import type { default as Settings } from '../settings'; import type { RowSizeSource, ColumnSizeSource } from './axisSizeSource'; /** * The engine's own row-size source. Reads the row-height settings/defaults straight from `Settings`, * exactly as `RowUtils` did before the port existed. In Handsontable those settings are the size * funnel callbacks (`rowHeight`, `rowHeightByOverlayName`), so this one source serves both the * embedded and the pure-Walkontable cases. */ export declare class DefaultRowSizeSource implements RowSizeSource { #private; /** * @param {Settings} wtSettings The Walkontable settings. */ constructor(wtSettings: Settings); /** * @param {number} sourceIndex The source index of the row. * @returns {number | undefined} */ getSize(sourceIndex: number): number | undefined; /** * @param {number} sourceIndex The source index of the row. * @param {string} overlayName The overlay name. * @returns {number | undefined} */ getSizeForOverlay(sourceIndex: number, overlayName: string): number | undefined; /** * @returns {number} */ getDefaultSize(): number; /** * @returns {boolean} */ isUniform(): boolean; } /** * The engine's own column-size source. Reads the column-width settings/defaults straight from * `Settings`, exactly as `ColumnUtils` did before the port existed. */ export declare class DefaultColumnSizeSource implements ColumnSizeSource { #private; /** * @param {Settings} wtSettings The Walkontable settings. */ constructor(wtSettings: Settings); /** * @param {number} sourceIndex The source index of the column. * @returns {number | undefined} */ getSize(sourceIndex: number): number | undefined; /** * @returns {number} */ getDefaultSize(): number; /** * @returns {boolean} */ isUniform(): boolean; }