import React from 'react'; import type { AnyObject } from './type'; export declare function isFragment(child: any): boolean; type RenderProps = AnyObject | ((originProps: AnyObject) => AnyObject | undefined); export declare const replaceElement:

(element: React.ReactNode, replacement: React.ReactNode, props?: RenderProps) => React.ReactNode; export declare function cloneElement

(element: React.ReactNode, props?: RenderProps): React.ReactElement; export {};