import * as React from 'react'; /** * `true` if the current React version is 17 or 18. Else, is `false`. * @private */ export declare const isReact17or18: boolean; /** * Wrapper over `cloneElement` that automatically checks for `isValidElement` * and automatically merges `children.ref` with the ref passed in props. * * @private */ export declare const cloneElementWithRef: (children: React.ReactNode, getProps: (children: React.JSX.Element) => Record) => string | number | bigint | true | React.ReactElement> | Iterable | Promise> | Iterable | null | undefined> | null;