import type { AccessorFn, Column, ColumnDef, ColumnMeta, RowData, TableInstance } from "../types.js"; export interface CoreColumn { /** * The resolved accessor function to use when extracting the value for the column * from each row. Will only be defined if the column def has a valid accessor key * or function defined. */ accessorFn?: AccessorFn; /** * The original column def used to create the column. * * @inheritDoc */ columnDef: ColumnDef; /** * The child column (if the column is a group column). Will be an empty array if * the column is not a group column. * * @inheritDoc */ columns: Column[]; /** * The depth of the column (if grouped) relative to the root column def array. */ depth: number; /** * Returns the flattened array of this column and all child/grand-child columns * for this column. * * @inheritDoc */ getFlatColumns: () => Column[]; /** * Returns an array of all leaf-node columns for this column. If a column has no * children, it is considered the only leaf-node column. * * @inheritDoc */ getLeafColumns: () => Column[]; /** * The resolved unique identifier for the column resolved in this priority: * - A manual `id` property from the column def * - The accessor key from the column def * - The header string from the column def */ id: string; /** * The parent column for this column. Will be undefined if this is a root column. * * @inheritDoc */ parent?: Column; } export declare function createColumn(table: TableInstance, columnDef: ColumnDef, depth: number, parent?: Column): Column; //# sourceMappingURL=column.d.ts.map