import { Response } from 'node-fetch'; import { ResponseResult } from './typings'; /** * Parse the JSON from a Response object. * @internal */ export declare function handleResponse(response: Response): Promise>; /** * Resolve the TEXT parsed from the successful response or reject the JSON from the error * @internal */ export declare function handleResponseTextOrJson(response: Response): Promise>;