import { ApiRequest } from "./apiRequest.js";
import { StringDict } from "../../../parsing/stringDict.js";
/** Base wrapper for API requests.
 *
 * @category API Response
 */
export declare abstract class ApiResponse {
    /** Initial request sent to the API. */
    apiRequest: ApiRequest;
    /** Raw text representation of the API's response. */
    private readonly rawHttp;
    /**
     * @param serverResponse JSON response from the server.
     */
    constructor(serverResponse: StringDict);
    /**
     * Raw HTTP request sent from server, as a JSON-like structure
     * @returns The HTTP request
     */
    getRawHttp(): StringDict;
}
