/**
 * A few words naming why a provider request failed ("429 rate limited", "502 bad gateway"), read from the
 * raw error text a gateway returns, so the retry status and the final notice never carry the raw body
 * (a JSON envelope or an HTML error page, senpi#6012). Undefined when the text names no known cause.
 */
export declare function providerErrorReason(errorMessage: string | undefined): string | undefined;
//# sourceMappingURL=provider-error-reason.d.ts.map