import type { RenderConfig } from 'svelte-render/createRender'; import type { DataBodyCell, DisplayBodyCell } from '../bodyCells.js'; import type { TableState } from '../createViewModel.js'; import type { HeaderCell } from '../headerCells.js'; import type { AnyPlugins } from './TablePlugin.js'; export type DataLabel = (cell: DataBodyCell, state: TableState) => RenderConfig; export type DisplayLabel = (cell: DisplayBodyCell, state: TableState) => RenderConfig; export type HeaderLabel = RenderConfig | ((cell: HeaderCell, state: TableState) => RenderConfig);