import { TableColumn } from '../models';
/**
 * Calculates the width required for a column based on the header text (column title).
 * It uses the Canvas API to measure text width dynamically.
 *
 * @param {TableColumn} col - The column metadata containing the header title and code.
 * @param {string} [font='16px Arial'] - The font to use for measurement (defaults to '16px Arial').
 * @returns {number} - The calculated width of the column in pixels.
 */
export declare function calculateTextWidth(col: TableColumn, font?: string): number;
//# sourceMappingURL=text.util.d.ts.map