import type { ControlUiRootState } from "./control-ui.js";
export declare const CONTROL_UI_BOOT_CHECK_PATH = "/api/control-ui/boot-check";
export type ControlUiBootCheckAsset = {
    url: string;
    ok: boolean;
    status: number;
    contentType: string;
    message?: string;
};
export type ControlUiBootCheck = {
    index: "ok" | "failed";
    indexResponse: ControlUiBootCheckAsset;
    entryJs: ControlUiBootCheckAsset | null;
    appJs: ControlUiBootCheckAsset | null;
    serve: "tailscale" | "direct" | "unknown";
};
export declare function resolveControlUiBootCheck(params: {
    basePath?: string;
    root?: ControlUiRootState;
    origin: string;
    serve?: "tailscale" | "direct" | "unknown";
}): ControlUiBootCheck;
