import errors from '../javascript-errors/javascript-errors';

/*eslint-disable valid-jsdoc*/ // Won't be required once eslint 2.0.0 is available
export default {

    /**
     * This is basically a shim to allow Bitbucket Cloud and Server to use their own AJAX request implementations.
     * @interface
     * @param {Object} options - the options for the REST call
     * @returns {Promise}
     */
    rest(options) { // eslint-disable-line no-unused-vars
        throw new errors.NotImplementedError();
    },
};

/*eslint-enable valid-jsdoc*/
