import type { GridOptions } from '../../treb-grid/src/index'; import type { DataModel } from '../../treb-data-model/src/index'; import type { DOMContext, Theme } from '../../treb-base-types/src/index'; import type { Grid } from '../../treb-grid/src/index'; /** new, intended for tui support but keeping it as generic as possible */ export type CustomGridFactory = (options: GridOptions, model: DataModel, theme: Theme | undefined, initialze_dom: boolean, DOM: DOMContext) => Grid;