/** * Checks if the given HTTP status code indicates a server error. * * @param {number} status - The HTTP status code to check. * @returns {boolean} - Returns true if the status code is between 500 and 599, inclusive; otherwise, false. */ export declare function isServerErrorStatus(status: number): boolean; /** * Checks if the given HTTP status code indicates a successful response. * * @param {number} status - The HTTP status code to check. * @returns {boolean} - Returns true if the status code is between 200 and 299, inclusive; otherwise, false. */ export declare function isSuccessfulStatus(status: number): boolean; /** * Attempts to parse a fetch response as JSON. If that fails, parses it as text. * Ensures the result is always a JSON object. * * @param {Response} response - The fetch response to parse. * @returns {Promise} The parsed response data. */ export declare const parseResponseToJson: (response: Response) => Promise; //# sourceMappingURL=fetch_helper.d.ts.map