import { FormatModule, TabulatorFull as Tabulator } from 'tabulator-tables'; import type { CellComponent, ColumnDefinition, EmptyCallback, FormatterParams, Options } from 'tabulator-tables'; export type FormatterFunction = (cell: CellComponent, formatterParams: GridFormatterParams, onRendered: EmptyCallback) => string | HTMLElement; export type GridFormatterParams = FormatterParams & { formatterOriginal?: string | FormatterFunction; }; export interface GridColumnDefinition extends ColumnDefinition { formatterParams?: GridFormatterParams | undefined; } export interface GridOptions extends Options { columns?: GridColumnDefinition[] | undefined; } export declare class Grid extends Tabulator { } export declare class GridFormatModule extends FormatModule { static formatters: { [key: string]: FormatterFunction; }; }