import type { DevToolsSys } from "../../types.js";
import type { CLIArgs } from "../index.js";
import type { ConnectivityFetchFn } from "$/ai-utils/src/connectivity/types";
export declare const BUILDER_TESTS: readonly [{
    readonly source: "local";
    readonly testId: "builder.io";
}, {
    readonly source: "local";
    readonly testId: "api.builder.io";
}, {
    readonly source: "local";
    readonly testId: "cdn.builder.io";
}];
/**
 * Wrapper around safeFetch for connectivity checks.
 * safeFetch throws on 5xx errors, but httpCheck needs to inspect the status code
 * to properly classify server errors. This wrapper catches NetworkError with a
 * statusCode and returns a synthetic response instead of throwing.
 */
export declare const connectivityFetch: ConnectivityFetchFn;
export declare function runDoctorCommand(sys: DevToolsSys, _subCommand: string | undefined, args: CLIArgs): Promise<void>;
export declare function formatErrorCode(code: string): string;
