/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ import * as React from 'react'; export declare const isValidElement: typeof React.isValidElement; declare type AnyObject = Record; declare type RenderProps = undefined | AnyObject | ((originProps: AnyObject) => AnyObject | undefined); export declare function replaceElement(element: React.ReactNode, replacement: React.ReactNode, props: RenderProps): React.ReactNode; export declare function cloneElement(element: React.ReactNode, props?: RenderProps): React.ReactElement; export {};