import { CellRenderContext, ColumnEditorContext } from '@toolbox-web/grid'; import { ReactNode } from 'react'; /** * Props for the GridType component. * * @since 2.0.0 */ export interface GridTypeProps { /** Type name that columns reference via `type`. */ name: string; /** Optional params surfaced as `typeDefault.*` in templates. */ params?: Record; /** Custom type-level cell renderer. */ children?: (ctx: CellRenderContext) => ReactNode; /** Custom type-level cell editor. Requires the editing feature/plugin. */ editor?: (ctx: ColumnEditorContext) => ReactNode; } /** * Type-default configuration component for use with DataGrid light DOM. * * Renders a `` custom element and registers React renderer * functions on the framework adapter registry keyed by type name. * * @since 2.0.0 */ export declare function GridType(props: GridTypeProps): React.ReactElement; //# sourceMappingURL=grid-type.d.ts.map