export type HostedDashboardBrowserProbeResult = {
    ok: true;
    durationMs: number;
    wsUrl: string;
    bootCheck: HostedDashboardBootCheck;
} | {
    ok: false;
    durationMs: number;
    stage: "login" | "assets" | "websocket";
    message: string;
    wsUrl?: string;
    bootCheck?: HostedDashboardBootCheck;
};
export type HostedDashboardBootAssetCheck = {
    url: string;
    ok: boolean;
    status?: number;
    contentType?: string;
    message?: string;
};
export type HostedDashboardBootCheck = {
    serve: "tailscale" | "direct";
    index: "ok" | "failed";
    indexResponse: HostedDashboardBootAssetCheck;
    entryJs?: HostedDashboardBootAssetCheck;
    appJs?: HostedDashboardBootAssetCheck;
    assets: HostedDashboardBootAssetCheck[];
};
export declare function probeHostedDashboardBrowserPath(params: {
    httpUrl: string;
    token: string;
    timeoutMs?: number;
}): Promise<HostedDashboardBrowserProbeResult>;
export declare function waitForHostedDashboardBrowserPath(params: {
    httpUrl: string;
    token: string;
    deadlineMs?: number;
    probeTimeoutMs?: number;
    pollMs?: number;
}): Promise<HostedDashboardBrowserProbeResult>;
