/** * Bounded, credential-free summary of one Sandbox transport failure. * * A transport message carries the request URL, and that URL can carry userinfo * or a query token, so no contract payload ever repeats the message. A summary * is built from structured error members only: a status is re-emitted as an * integer, and a code or an error name is emitted only when it matches a bare * identifier, which cannot express a URL, a bearer, or whitespace. */ /** Which transport read one reason describes. */ export type TransportRead = "environment refresh" | "placement lookup" | "resource usage read" | "subscription read" | "account usage read" | "terminal attach" | "terminal acknowledgement" | "terminal metadata read" | "terminal socket" | "interactive start" | "interactive control" | "interactive control claim" | "interactive status" | "interactive attach" | "interactive prompt" | "interactive stop"; /** Name the read that failed and the cause, with nothing copied from it. */ export declare function transportFailureReason(read: TransportRead, error: unknown): string;