import type { DataTableColumnGridTemplates, GetMeasuredColumnWidthFn } from './layout-types.js'; import type { Column } from '../../hooks/useTable/types.js'; import type { DataTableThresholdsNormalizedRule } from '../Thresholds/threshold-types.js'; /** * Gets the width for a prefix column based on its position and type. * * @param column - The prefix column to process * @param rowDensity - The row density configured for the table * @param rowThresholds - The row thresholds configured for the table * @returns Width in pixels * @internal */ export declare function getPrefixColumnWidth(column: Column, rowDensity: 'comfortable' | 'condensed' | 'default', rowThresholds?: DataTableThresholdsNormalizedRule[]): number; /** * Gets the target template array based on the pinning state of the column. * * @param pinnedState - Pinning state of the column * @param templates - Object containing left, center, and right templates * @returns The target template array * @internal */ export declare function getTargetTemplate(pinnedState: 'left' | 'right' | false, templates: DataTableColumnGridTemplates): string[]; /** * If the provided column is a builtin column (prefix, suffix, or spacer), * its grid template value is added to the appropriate column grid template. * * Mutates the provided `columnGridTemplates` as a side effect. * * @param column - The column to process * @param rowDensity - The row density configured for the table * @param rowThresholds - Row thresholds configured for the table * @param columnGridTemplates - Object containing left, center, and right templates * @returns True if the column is a builtin column and was handled, false otherwise * @internal */ export declare function processBuiltinColumn(column: Column, rowDensity: 'comfortable' | 'condensed' | 'default', rowThresholds: DataTableThresholdsNormalizedRule[] | undefined, columnGridTemplates: DataTableColumnGridTemplates): boolean; /** * Gets the grid template column entry for a column based on its width configuration. * * @param column - The column to process * @param columnSizing - Current column sizing state * @param columnSizingInfo - Current column sizing info * @param getMeasuredWidth - Function to get the measured width of a column * @returns The grid template string for this column, or undefined * @internal */ export declare function getColumnTemplateEntry(column: Column, columnSizing: Record, columnSizingInfo: { isResizingColumn: string | false; }, getMeasuredWidth: GetMeasuredColumnWidthFn): string | undefined;