import type { StatusCheck, StatusCheckResult } from "../../../config/types";
export type StartupCheckState = "idle" | "loading" | "complete";
export type StartupCheckResult = {
    /** Current state of the startup checks */
    state: StartupCheckState;
    /** Whether any blocking issues were found */
    hasBlockingIssues: boolean;
    /** All issues found from blocking checks */
    issues: StatusCheckResult[];
    /** Re-run the blocking checks (shows loading state) */
    recheck: () => Promise<void>;
    /** Re-run checks without the full-screen loading state (e.g. after WebSocket connects) */
    recheckQuiet: () => Promise<void>;
    /** Clear a subset of issues without re-running all checks */
    clearIssuesByIdPrefix: (prefix: string) => void;
};
/**
 * Hook that runs blocking status checks at startup.
 * Returns the state, any issues found, and a recheck function.
 */
export declare function useStartupChecks(statusChecks: StatusCheck[] | undefined): StartupCheckResult;
