import * as React from 'react'; export declare function makeComponent(Slot: React.FunctionComponent | React.ReactElement | string | number | boolean | undefined | null): React.FunctionComponent | null; export declare function mapChildren(children: React.ReactNode | React.ReactNode[], cb: (child: React.ReactElement, index: number) => React.ReactNode): (string | number | React.ReactElement> | Iterable | React.ReactPortal)[] | null | undefined; export declare function transformChildren(children: React.ReactNode | React.ReactNode[], cb: (child: React.ReactElement, index: number) => React.ReactNode, options?: { depth: number; }): React.ReactNode; export declare function passPropsToChildren(children: React.ReactNode | React.ReactNode[], props?: Record): React.ReactNode | React.ReactNode[]; export declare function flattenChildren(children: React.ReactNode): React.ReactNode[];