/** The stage a loading view stands for; scenario checks assert it through `data-phase`. */ export type LoadingPhase = 'modules' | 'catalog' | 'workspace' | 'capture' | 'live-boot'; export interface LoadingProgressProps { phase: LoadingPhase; /** Percent done, 0–100. Omit when the stage has no measurable share; the bar then runs without a number. */ value?: number | null; /** Covers its positioned parent instead of flowing inline. */ fill?: boolean; /** A hairline across the top of its parent, for work that runs behind something already on screen. */ thin?: boolean; /** Shows the percentage beside the bar. */ showValue?: boolean; } /** * A bar and, when it is known, the percentage — nothing else. Stable data * attributes (`data-phase`, `data-loading-progress`) let scenario checks * assert a loading state was shown and for how long. */ export declare function LoadingProgress({ phase, value, fill, thin, showValue }: LoadingProgressProps): import("react").JSX.Element; /** How far the page's own loading screen got; later stages continue from here instead of starting over. */ export declare function bootScreenProgress(): number; /** Removes the page's loading screen once the editor draws its own view. */ export declare function dismissBootScreen(): void;