import React, { type ReactNode } from 'react'; import { type CellInputRendererFn, type CellInputRendererRegistry, type CellInputProps } from '@deephaven/grid'; import { type IrisGridThemeType } from './IrisGridTheme'; export type { CellInputRendererFn, CellInputRendererRegistry, CellInputProps }; /** * The default registry containing DHC's built-in cell input renderers. * Pass this (or a superset of it) as the `registry` prop of * {@link IrisGridContextProvider} to include the DHC defaults. */ export declare const DEFAULT_REGISTRY: CellInputRendererRegistry; /** * The context value for the IrisGridContextProvider. * This must be a full object and not a partial so that we * can createDefaultIrisGridTheme once, and not per grid. */ export type IrisGridThemeContextValue = IrisGridThemeType; /** * The context for the IrisGrid, providing the theme, density, and cell input renderer registry. */ export declare const IrisGridContext: React.Context<{ theme: IrisGridThemeContextValue | null; density: "compact" | "regular" | "spacious"; cellInputRendererRegistry: CellInputRendererRegistry; }>; export interface IrisGridContextProviderProps { children: ReactNode; density?: 'compact' | 'regular' | 'spacious'; /** Registry of cell input renderer functions. Defaults to the DHC built-in renderers. */ registry?: CellInputRendererRegistry; } export declare function IrisGridContextProvider({ children, density, registry, }: IrisGridContextProviderProps): JSX.Element; //# sourceMappingURL=IrisGridContextProvider.d.ts.map