import { ColumnUserConfig } from "table"; export declare type ColumnOnly = K; export declare type ColumnFormulaTuple = [ K, (prop: T[K]) => unknown ]; export declare type AdvancedColumn = { col: K; formula?: (prop: T[K]) => unknown; /** by default the column is the name but you can specify your own where required */ name?: string; /** the minimum width of the console for this column to appear */ minWidth?: number; format?: ColumnUserConfig; }; export declare type TableColumn = ColumnOnly | ColumnFormulaTuple | AdvancedColumn; export declare function isAdvancedColumn(col: TableColumn): col is AdvancedColumn; export declare function isColumnTuple(col: TableColumn): col is ColumnFormulaTuple; /** * **toTable** * * Utility function to take an array of values -- in dictionary form -- * and return them back in a form which can be brought into the `table` * library as data. */ export declare function toTable(data: T[], ...columns: Array>): string; //# sourceMappingURL=toTable.d.ts.map