import type { ReactElement, ReactNode } from 'react'; import type { TExtend, TOmitKey } from 'tsfn'; export declare const SYMBOL_CHILDREN_REST: unique symbol; export declare type TChildrenMap = { [key in K]: { symbols: symbol[]; isMultiple?: boolean; isRequired?: boolean; }; }; export declare const getElementSymbol: (element: ReactElement) => symbol | null; export declare const mapChildren: (childrenMap: TChildrenMap) =>

(props: P) => TExtend>, { [key in K]: ReactElement ReactElement import("react").Component)> | null) | (new (props: any) => import("react").Component)>[]; }>;