import { htmlSafe } from '@ember/template'; import { Column } from "../../index.js"; /** * The column actively being resized by the user. * * Note that during resizing, multiple columns are resized at once, * dependending on the boundaries of the resize events. * * The other columns being resized as a consequence of "this" column will not * be marked as isResizing, because this is a user-scoped question: * "Is the user directly resizing this column?" */ declare const isResizing: (column: Column) => boolean; /** * Does the column have room to shrink? */ declare const canShrink: (column: Column) => boolean | 0; /** * Does the column have a resize handle? * The return value of this function can be determined by * - if resizing is enabled for the column * - if resizing is enabled for the whole table * - or if we're asking about the first column (resize handles may only be "between" columns) */ declare const hasResizeHandle: (column: Column) => boolean; /** * In this plugin (by default), styles are only applied to the headers automatically. * in UIs, the header cells control the widths of all cells in that column. * There are other kinds of tabular-like markup that may want to grab the widths of columns, * because The Platform does not manage that automatically (like if divs and roles were used manually) * * This utility is meant to be applied to the `style` attribute of a particular td-like element. */ declare const styleStringFor: (column: Column) => ReturnType; export { isResizing, canShrink, hasResizeHandle, styleStringFor };