import { SELECTION_COLUMN_SIZE as c, ACTION_COLUMN_SIZE as m, COLUMN_MIN_SIZE as e } from "../../../constants/tableDefaults.js";
function C(i) {
  const { isSelectionColumn: n, isActionColumn: o, isResizing: r, getSize: t, columnSizingDeltaOffset: u, columnSizeNumber: l } = i;
  if (n)
    return c;
  if (o)
    return m;
  if (r) {
    const a = t() + (u ?? 0);
    return Math.max(a, e);
  }
  const s = t() || l || 0;
  return Math.max(s, e);
}
export {
  C as default
};
//# sourceMappingURL=calculateCellWidth.js.map
