import 'rollup-plugin-inject-process-env'; /** * Did this request fail because it never reached the server? * * The widget used to answer "the server is offline" to every failure, and on 2026-09-25 a retired * Bedrock model made every new chat fail with a 500 — so every visitor was told the server was * offline while it was up and serving. The message sent the investigation at DNS, CORS and CDNs for * 110 minutes and told customers something untrue. * * A status code is the discriminator: it only exists because the server answered. Present means * reachable-but-failing, which is a different message to a visitor and a different thing for us to * go and look at. * * An unrecognised failure counts as transport. It is the safer claim — "cannot reach the server" * when the truth is unknown is wrong in a way the visitor can act on, where leaving the widget * looking hung is not. */ export declare function isTransportFailure(error: unknown): boolean;