import { TableRow } from './table-row.model'; export declare type AtRenderFunc = (row: R) => string; export declare type AtClassFunc = (row: any, col: any) => string; export declare type AtSortFunc = (data: R[], col: any) => string; export declare type AtFilterFunc = (data: R[], col: any) => string; export interface TableField extends AbstractField { renderer?: AtRenderFunc; classNames?: string; rowClass?: string | AtClassFunc; customSortFunction?: AtSortFunc; customFilterFunction?: AtSortFunc; } export interface AbstractField { index?: number; name: string; type?: 'text' | 'number' | 'date' | 'category'; option?: any; width?: number; header?: string; print?: boolean; isKey?: boolean; inlineEdit?: boolean; display?: 'visible' | 'hiden' | 'prevent-hidden'; sticky?: 'start' | 'end' | 'none'; filter?: 'client-side' | 'server-side' | 'none'; sort?: 'client-side' | 'server-side' | 'none'; cellClass?: string; style?: string; icon?: string; iconColor?: string; }