import React, { ReactElement } from 'react'; import { LifecyclePhase } from '@workbench-stack/core'; export type WithFalse = T | false; export interface LifecycleProps { setPhaseReady?: boolean; setPhase?: LifecyclePhase; renderWhenPhase?: LifecyclePhase; loadingRenderer: ({ loading }: { loading: boolean; }) => ReactElement; children?: ReactElement; } export declare const Lifecycle: ({ children, ...rest }: LifecycleProps) => React.JSX.Element;