import type { ActionEvent as CoreActionEvent, DefinedComponent as CoreDefinedComponent, Library as CoreLibrary, LibraryDefinition as CoreLibraryDefinition, ComponentRenderProps as CoreRenderProps } from '@openuidev/lang-core'; import type { z } from 'zod/v4'; import type { $ZodObject } from 'zod/v4/core'; import type { ReactElement, ReactNode } from '@lynx-js/react'; export type { ComponentGroup, LibraryJSONSchema, PromptOptions, SubComponentOf, ToolDescriptor, } from '@openuidev/lang-core'; /** * Props passed to an OpenUI ReactLynx component renderer. */ export interface ComponentRenderProps
> extends CoreRenderProps
{ onAction?: (event: CoreActionEvent) => void; } export type ComponentRenderer
> = React.FC