/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { NzTableFilterList, NzTableSortFn, NzTableSortOrder } from 'ng-zorro-antd/table'; import { MagTableColumn } from './mag-table-column'; export interface WidthOption { min?: number; max?: number; } export declare class MagTableColumnBuilder { key: string; name: string; value: MagTableColumn; constructor(key: string, name: string, icon?: string); sort(sortFunc: NzTableSortFn, initOrder?: NzTableSortOrder): MagTableColumnBuilder; width(width: string, option?: WidthOption): MagTableColumnBuilder; filter(multiple: boolean, filterItems: NzTableFilterList, filterChange?: NzSafeAny): MagTableColumnBuilder; visible(visible: boolean, immutableVisibility?: boolean): MagTableColumnBuilder; tooltip(tooltip: string, icon?: string): MagTableColumnBuilder; build(): MagTableColumn; }