import { type GatewayStatus } from "../gateway/Gateway.js"; import type { ActionSpaceStatus } from "../posture/ActionSpaceDrift.js"; import type { CliProcess } from "./CliProcess.js"; /** `proxy`'s arguments, and the acceptance report to hold against the running gateway. */ export declare const STATUS_ARGUMENTS: { readonly valued: readonly ["upstream", "port", "listen", "mode", "failure-policy", "authority", "config", "acceptance"]; readonly flags: readonly ["verbose", "json"]; }; /** Where a gateway listening here answers its status; a wildcard listener is asked on loopback. */ export declare function statusUrl(listen: { readonly host: string; readonly port: number; }): string; /** The running gateway's status, or the code of why none answered. Nothing is started. */ export declare function readStatus(io: CliProcess, url: string, timeoutMs?: number): Promise<{ readonly status: GatewayStatus; } | { readonly error: string; }>; /** * The action space in one line: what the deciding release was checked * against, beside what the gateway loaded. An older gateway does not say. */ export declare function describeActionSpace(space: ActionSpaceStatus | undefined): string; /** * `agentsafe status`: asks a running gateway, at the address the same * configuration would bind, what it is doing. Nothing is started. */ export declare function runStatus(io: CliProcess, argv: readonly string[]): Promise; //# sourceMappingURL=Status.d.ts.map