import { ForwardRefExoticComponent, ForwardRefRenderFunction, MutableRefObject, PropsWithoutRef, ReactElement, RefAttributes } from 'react'; interface RenderFunction extends Pick, 'defaultProps' | 'displayName' | 'propTypes'> { (props: P, ref: ((instance: E | null) => void) | MutableRefObject | null): ReactElement | null; } /** * Wrapper around React's `forwardRef` function, which adds a `displayName` to each component * created using it */ export declare function intrinsicComponent

, E = HTMLElement>(render: RenderFunction, displayName?: string): ForwardRefExoticComponent & RefAttributes>; export {};