/** * `weft server health` and `weft server info` — operate/inspect commands for a * running Weft server. * * `health` probes the `/v1/health` meta endpoint and maps reachability to an * exit code (0 healthy, 1 unreachable). `--wait` polls until the server * responds or a timeout elapses, which deploy scripts use to block until a * freshly started server is ready. * * `info` reports the resolved server, its health, and a version-skew summary: * the count of operations the server advertises in `/openrpc.json` that this * CLI's bundled catalog does not know about, surfaced as "N additional * operations available via weft api". * * @module cli/server-commands */ import type { CommandOutput, ServerCommand } from './types.ts'; /** Execute `weft server health` or `weft server info`. */ export declare function executeServer(command: ServerCommand): Promise;