// Type definitions for ui/ForwardRef type Omit = Pick>; type Merge = Omit> & N; export interface ForwardRefConfig extends Object { /** * The prop name to pass the ref callback */ prop?: string; } export interface ForwardRefProps {} export function ForwardRef

( config: ForwardRefConfig, Component: React.ComponentType

| string, ): React.ComponentType

; export function ForwardRef

( Component: React.ComponentType

| string, ): React.ComponentType

; export default ForwardRef;