import type { EpicgamesAPIErrorData } from '../../resources/httpResponses';
import { RequestConfig } from '../http/HTTP';
/**
 * Represents an HTTP error from the Epicgames API
 */
declare class EpicgamesAPIError extends Error {
    /**
     * The HTTP method
     */
    method: string;
    /**
     * The URL of the requested API endpoint
     */
    url: string;
    /**
     * The Epicgames error code (Starts with "errors.com.epicgames")
     */
    code: string;
    /**
     * The Epicgames numeric error code (defaults to null)
     */
    numericCode: number | null;
    /**
     * The HTTP status code
     */
    httpStatus: number;
    /**
     * The request data sent by the client
     */
    requestData?: any;
    /**
     * The variables contained in {@link EpicgamesAPIError#message}
     */
    messageVars: string[];
    /**
     * @param error The raw Epicgames API error data
     * @param request The client's request
     * @param status The response's HTTP status
     */
    constructor(error: EpicgamesAPIErrorData, request: RequestConfig, status: number);
}
export default EpicgamesAPIError;
