import { GridColumnDataTypes } from '../enums/grid-column-data-types'; import { GridColumnAggregationTypes } from '../enums/grid-column-aggregation-types'; export interface GridNumberColumnConfig { base?: number; style?: 'color' | 'back' | 'both'; } export declare class GridColumnInterface { constructor(); name?: string; header?: string; binding?: string; autoSize?: boolean; align?: 'left' | 'right' | 'center' | 'justify'; width?: string | number; minWidth?: number; isLtr?: boolean; dataType?: GridColumnDataTypes; format?: '0' /** Decimal Format */ | 'n1' /** Number Format - Accuracy to 1 decimal place - trailing zero*/ | 'n2' /** Number Format - Accuracy to 2 decimal place - trailing zero */ | 'n3' /** Number Format - Accuracy to 3 decimal place - trailing zero */ | 'n4' /** Number Format - Accuracy to 4 decimal place - trailing zero */ | 'g1' /** Number Format - Accuracy to 1 decimal place - No trailing zero - Without thousand delimiter*/ | 'g2' /** Number Format - Accuracy to 2 decimal place - No trailing zero - Without thousand delimiter*/ | 'g3' /** Number Format - Accuracy to 3 decimal place - No trailing zero - Without thousand delimiter*/ | 'g4' /** Number Format - Accuracy to 4 decimal place - No trailing zero - Without thousand delimiter*/ | 'G1' /** Number Format - Accuracy to 1 decimal place - No trailing zero */ | 'G2' /** Number Format - Accuracy to 2 decimal place - No trailing zero */ | 'G3' /** Number Format - Accuracy to 3 decimal place - No trailing zero */ | 'G4' /** Number Format - Accuracy to 4 decimal place - No trailing zero */ | 'p' /** Percentage Format */ | 'c2' /** Currency Format */ | 'd' /** Short Date */ | 'D' /** Long Date */ | 'f' /** Full Date/TIme (short time) */ | 'F' /** Full Date/TIme (long time) */ | (string & {}); isReadOnly?: boolean; aggregate?: GridColumnAggregationTypes; visible?: boolean; numberConfig?: { hasHightStyles?: GridNumberColumnConfig | boolean; hasLowStyles?: GridNumberColumnConfig | boolean; }; dataMap?: { value: string; label: string; parentKeyName?: string; items?: any[]; }; filteringOptions?: string[]; } export interface GridLinkOptions { href?: string; text?: string; /** Template string used to set the element's CSS class names. */ cssClass?: string; /** Template string used to set the element's "aria-label" attribute. */ label?: string; /** Object with attributes to apply to the cell content element. */ attributes?: object; /** Function to be executed when the element is clicked. */ click?: (e: MouseEvent, args: GridLinkOptionArgs) => void; } export interface GridLinkOptionArgs { row: any; /** {@link Column} that contains the cell. */ col: any; /** Data item bound to the cell. */ item: any; /** Raw value of the property bound to the cell. */ value: any; /** Formatted/mapped value of the property bound to the cell. */ text: string; }