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) => StageRender | ReactElement | null; export declare function staged

(stage: StageRenderRoot

): FC

; export declare function staged

(stage: StageRenderRootWithRef): RefForwardingComponent; export {};