import { default as ConditionalFormattingColumn } from '../../conditional-formatting-sheet/types/ConditionalFormattingColumn'; import { ITableColumnProps } from '../../table'; /** * Builds the column list offered by the Conditional Formatting sheet from * the table's own `columns`, so the dropdown always has exactly the columns * the table renders — no hand-maintained second list to drift out of sync. * * `overrides` (the handler's `formattableColumns`) are merged in by `value`, * which is how a consumer declares `SELECT` options or a custom label. * Overrides naming a column the table doesn't have are ignored. */ export default function getConditionalFormattingFormattableColumns(columns: ITableColumnProps[], data: T[], overrides?: ConditionalFormattingColumn[]): ConditionalFormattingColumn[];