/** * All credit goes to Chance (Reach UI), Haz (Reakit) and (fluentui) * for creating the base type definitions upon which we improved on */ import { ElementType } from "react"; import { ComponentWithAs, PropsOf, RightJoinProps } from "./system.types"; export declare function forwardRef(component: React.ForwardRefRenderFunction, Props> & { as?: ElementType; }>): ComponentWithAs;