import { PropertyExt, Field } from "@hpcc-js/common"; import { Common } from "./Common.ts"; import { CellFormatter, CellRenderer } from "./RowFormatter.ts"; export declare class ColumnFormat extends PropertyExt { _owner: Table; constructor(); owner(): Table; owner(_: Table): this; valid(): boolean; formatterFunc(): CellFormatter | undefined; renderCellFunc(): CellRenderer | undefined; } export interface ColumnFormat { column(): string; column(_: string): this; width(): number; width(_: number): this; format(): string; format(_: string): this; paletteID(): string; paletteID(_: string): this; min(): number; min(_: number): this; max(): number; max(_: number): this; valueColumn(): string; valueColumn(_: string): this; } export declare class Table extends Common { private _prevColsHash; private _prevFieldsHash; _colsRefresh: boolean; _dataRefresh: boolean; constructor(); fields(): Field[]; fields(_: Field[]): this; columns(): string[]; columns(_: string[], asDefault?: boolean): this; data(): any; data(_: any): this; enter(domNode: any, element: any): void; guessWidth(columns: any, data: any): void; _prevHash: any; update(domNode: any, element: any): void; exit(domNode: any, element: any): void; protected _applyColumnsToGrid(): void; formatterFunc(): CellFormatter | undefined; renderCellFunc(): CellRenderer | undefined; click(row: any, col: any, sel: any): void; dblclickColResize(column: string, dgridColumn: any): void; } export interface Table { columnWidth(): "auto" | "none"; columnWidth(_: "auto" | "none"): this; columnWidthAutoSampleSize(): number; columnWidthAutoSampleSize(_: number): this; columnWidthAutoFontName(): string; columnWidthAutoFontName(_: string): this; columnWidthAutoFontSize(): number; columnWidthAutoFontSize(_: number): this; columnFormats(): ColumnFormat[]; columnFormats(_: ColumnFormat[]): this; }