import { FC, PropsWithChildren, ReactElement, Ref, RefForwardingComponent } from 'react'; declare type StageRender = () => StageRender | ReactElement | null; declare type StageRenderRoot
= (props: PropsWithChildren
) => StageRender | ReactElement | null; declare type StageRenderRootWithRef
= (props: PropsWithChildren
, ref: Ref (stage: StageRenderRoot ): FC ;
export declare function staged (stage: StageRenderRootWithRef ): RefForwardingComponent