import type { AgPromise, IComponent } from 'ag-stack'; /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */ export interface UserCompDetails = any> { componentClass: any; componentFromFramework: boolean; params: any; type: ComponentType; popupFromSelector?: boolean; popupPositionFromSelector?: 'over' | 'under'; newAgStackInstance: () => AgPromise; } /** @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time. */ export interface ComponentType { name: string; cellRenderer?: boolean; mandatoryMethods?: (keyof TComp & string)[]; optionalMethods?: (keyof TComp & string)[]; /** * Set to true to force display:block on the .ag-react-wrapper element around custom react components * * By default the .ag-react-wrapper element around react custom components is display:contents so as not to break * flex child behaviour. But when the grid positions or measures the React wrapper element itself (e.g. * absolutely-positioned tooltips and drag images), the wrapper must be display:block. */ requiresBlockWrapper?: boolean; }