export declare class APIError extends Error {
    /**
     * HTTP status code
     */
    readonly statusCode: number;
    /**
     * HTTP content type
     */
    readonly contentType: string;
    /**
     * HTTP body
     */
    readonly body: string;
    /**
     * Raw response
     */
    readonly rawResponse: Response;
    constructor(message: string, rawResponse: Response, body?: string);
}
//# sourceMappingURL=apierror.d.ts.map