import * as React from 'react';
export declare const isValidElement: typeof React.isValidElement;
type AnyObject = Record<any, any>;
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;
/** toArray */
export declare function toArray<T>(list: T | T[]): T[];
/** omit */
export declare function omit<T extends object, K extends keyof T>(obj: T, fields: K[]): Omit<T, K>;
export {};
