export declare class ApiError extends Error {
    private errorName;
    private errorDescription;
    constructor(error: string, description: string);
    /**
     * Get the error name and description returned by the API
     * @returns The error name and description in an object
     */
    getApiError(): {
        error: string;
        description: string;
    };
}
