import { TableElement, TableToggleElement } from './table.element'; import { TranslateService } from '@ngx-translate/core'; export declare class TableColumn { column: string; title: string; isIdentifier: boolean; type: any; caption: string; valueVisible: boolean; icon: string; ignoreSort: boolean; ignoreTranslate: boolean; checker: (element: any) => boolean; checkerType: any; checkerValue: (element: any) => any; styles: string; fixedLength: number; checked: boolean; headerCheckbox: boolean; prefixText: string; _sortBy: string; sortBy: string; sortDirection: string; dataColumns: TableColumn[]; dataColumnSeparator: string; translateService: TranslateService; decorator: (column: TableColumn, element: TableElement) => {}; iconDecorator: (column: TableColumn, element: TableElement) => {}; alterDecorator: (column: TableColumn, element: TableElement) => {}; constructor(column: string, title?: string, isIdentifier?: boolean, valueVisible?: boolean); withType(currentType: any): TableColumn; withHeaderCheck(headerCheckbox: boolean): TableColumn; withStyles(styles: string): TableColumn; withFixed(fixedLength: number): this; withValueVisible(valueVisible: boolean): TableColumn; withChecker(checker: (element: any) => boolean, checkerType?: any, checkerValue?: (element: any) => any): TableColumn; withIcon(icon: string): TableColumn; withSortBy(sortBy: string): TableColumn; withSortDirection(sortDirection: string): TableColumn; withIgnoreSort(ignoreSort: boolean): this; withDataColumns(dataColumns: TableColumn[]): TableColumn; withDataColumnSeparator(separator: string): TableColumn; withDecorator(decorator: (_column: TableColumn, _element: TableElement) => {}): this; withIconDecorator(decorator: (_column: TableColumn, _element: TableElement) => {}): this; withAlterDecorator(decorator: (_column: TableColumn, _element: TableElement) => {}): this; withIgnoreTranslate(ignoreTranslate: boolean): this; withTranslate(translateService: TranslateService): void; withPrefixText(prefixText: string): this; getTitle(): string; getValueVisible(): boolean; getStyles(): string; static _getData(data: any, dataIndex: string): any; getColumnContent(column: TableColumn, element: TableElement): any; getDataColumn(columnId: string): TableColumn; getDataColumnContent(columnId: string, element: TableElement): string; getAlterContent(element: TableElement): any; getIcon(element: TableElement): any; getContent(element: TableElement): any; } export declare class IdentifierTableColumn extends TableColumn { constructor(column: string, title?: string, valueVisible?: boolean); } export declare class ButtonTableColumn extends TableColumn { caption: string; color: string; options: any; constructor(caption: string, title?: string, color?: string, styles?: string, icon?: string); withCaption(caption: string): TableColumn; withColor(color: string): TableColumn; withOptions(options: any): ButtonTableColumn; } export declare class ToggleTableColumn extends ButtonTableColumn { defaultState: string; stateCaptions: any; activeCaption(element: TableToggleElement): string; constructor(stateCaptions: any, defaultState: string, title?: string, color?: string, styles?: string); } export declare class DateTableColumn extends TableColumn { constructor(column: string, title?: string); } export declare class CloudTableColumn extends TableColumn { caption: string; constructor(column: string, title?: string); } export declare class ConditionalTableColumn extends TableColumn { matchValue: string; displayColumn: TableColumn; constructor(column: string, matchValue: string, displayColumn: TableColumn); getContent(element: TableElement): any; } export declare class MultiTableColumn extends TableColumn { nested: TableColumn[]; constructor(nested: TableColumn[], title: string); }