export declare const COLUMN_ACTION_SPACE = 36; export declare const COLUMN_ACTION_WIDTH_CLASS = "w-[calc(100%-36px)]"; /** * Measure the width a header cell needs to show its label without truncation. * The reserved spaces mirror DataTableHeadCell padding, DataTableSortButton plus its gap, * and the width TableHeadContent keeps free for the column action button. * @returns The required width in pixels, or 0 when no canvas is available (SSR, JSDOM). */ export default function measureHeaderWidth(title: string, { sortable, hasColumnAction }: { sortable: boolean; hasColumnAction: boolean; }): number;