import type { Component, PropsWithoutRef, ReactNode, RefAttributes } from 'react'; import { type Action, type UnknownAction } from '../actions'; export type ComponentType

, T = any> = { new (props: PropsWithoutRef

& RefAttributes, context?: any): Component

; } | ((props: PropsWithoutRef

& RefAttributes, context?: any) => ReactNode); export type State = Map; export declare function getInitialState({ reactComponents, }?: { reactComponents?: Map; }): State; export declare function getReactComponent(state: State, type: string): ComponentType | null; export declare function reducer(state: State | undefined, action: Action | UnknownAction): State; //# sourceMappingURL=react-components.d.ts.map