/** * Visible fix-guidance bodies for `heal`. These render as `digest` text (printed * verbatim beneath each headline), so they are exact, copy-pasteable commands. * * The npm self-heal is the load-bearing piece: it is emitted here as an * operator-run script, NEVER executed by aih — Node's built-in `https` honors * `NODE_EXTRA_CA_CERTS`, so it reaches the registry behind a TLS-intercepting * proxy (Zscaler, Netskope, Palo Alto, …) even when npm's own TLS is broken. */ /** Filename we suggest the operator save the self-heal script as. */ export declare const NPM_HEAL_SCRIPT = "heal-npm.mjs"; /** * The Node self-heal script. Resolves npm's current tarball from the registry * using Node's own TLS stack (so the corporate CA in NODE_EXTRA_CA_CERTS applies), * downloads it, and reinstalls npm globally with the freshly-unpacked `npm-cli.js`. * Pure stdlib — no dependency on the broken npm. */ export declare function npmHealScript(): string; /** L1 — npm broken, Node present, registry reachable: emit the self-heal script. */ export declare function npmReinstallDoc(): string; /** * L2 — npm broken AND the registry is unreachable (proxy blocks it). No download * is possible here; guide the offline reinstall using the existing npm-cli.js. */ export declare function npmOfflineDoc(cliPath: string | undefined): string; /** L3 — Node itself is missing; npm cannot be healed without it. */ export declare function nodeMissingDoc(): string; /** Cert trust is broken end-to-end: point at the dedicated `certs` capability. */ export declare function certFixDoc(caPattern: string, shellFlag: string): string; /** * A selected Node candidate verifies the runtime seam, while packaged GUI apps * must be fully relaunched and checked by the operator after local persistence. */ export declare function guiCaNote(keys: readonly string[]): string; export declare function mcpTlsInterceptionDoc(platform: string, endpoints: readonly string[], runtimes: { node: boolean; python: boolean; }): string; /** PATH fix guidance, per shell (advisory: PATH edits are left for the operator). */ export declare function pathFixDoc(binDir: string, shell: "posix" | "powershell"): string;