import { createElement, ElementType, ReactNode } from 'react'; import { DynamicChildren } from '../types'; interface RenderOptions { componentName: string; as: ElementType; props?: Record; children: ReactNode; childrenProps?: ChildrenProps; } declare type RenderResult = ReturnType; export declare function render(options: RenderOptions): RenderResult; export declare function renderChildren(children: DynamicChildren, childrenProps: ChildrenProps): ReactNode; export {};