/** * Every request to Sophos goes out with redirect: "manual", and an answer in * the 3xx range is refused here instead of followed. Following it would send * the request again to whatever address the Location header names: on a 307 * or 308 with the same body, which on the token request is the client secret, * and on an API call with the tenant or partner ID header. */ export declare class SophosRedirectError extends Error { readonly status: number; constructor(status: number, url: string, location: string | null); } /** Throws SophosRedirectError when the answer is a redirect. */ export declare function refuseRedirect(response: globalThis.Response, url: string): void; //# sourceMappingURL=redirect.d.ts.map