import { __awaiter, __extends, __generator } from "tslib";
import { _API } from "./API";
/**  This is called the No API as all methods are
 * implemented to throw exceptions.
 */
var No_API = /** @class */ (function (_super) {
    __extends(No_API, _super);
    function No_API() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.RegionManager = undefined;
        return _this;
    }
    No_API.prototype.CreateSuperRoot = function () {
        throw new Error(_API.Exception);
    };
    No_API.prototype.ProcessIGXC = function (componentId, data, igxcBasePath) {
        return Promise.reject(new Error(_API.Exception));
    };
    No_API.prototype.LoadUpdate = function (url, data) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.LoadMaterials = function (url, callback) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.AddMaterials = function (matObj) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.RemoveComponent = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetOrderNumber = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetCommercialId = function (componentId, commercialId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetCommercialId = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetRoots = function () {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetParent = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.AddChild = function (componentId, description, redraw) {
        if (redraw === void 0) { redraw = true; }
        return Promise.reject(new Error(_API.Exception));
    };
    No_API.prototype.GetChildren = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetProducts = function (componentId, category) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetComponent = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetComponentData = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetComponentData = function (componentId, key, value) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetBasicWorldTransformation = function (componentId, setPositionCompatibility) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.IsValid = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetSelectionMode = function (componentId, mode) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetSelectionMode = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetInteractor = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.UpdateInteractor = function (componentId, key, value) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetEvaluator = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.UpdateEvaluator = function (componentId, key, value) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetVisibility = function (componentId, visible) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetVisibility = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.Highlight = function (componentId, color, noRedraw) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetupGhost = function (componentId, mode) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetGhostIds = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetHash = function (componentId, hash) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetHash = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetGeometry = function (componentId, geometry, url) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetGeometry = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetDeformation = function (componentId, deformation) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetLayer = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetMaterial = function (componentId, description) {
        return __awaiter(this, void 0, void 0, function () {
            return __generator(this, function (_a) {
                throw new Error(_API.Exception);
            });
        });
    };
    No_API.prototype.GetMaterial = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetMaterialCategory = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetCategories = function (componentId, categories) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetCategories = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetBounds = function (componentId, context, considerScaleForLocalContext) {
        if (considerScaleForLocalContext === void 0) { considerScaleForLocalContext = true; }
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetPosition = function (componentId, position) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetPosition = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetXRotation = function (componentId, degrees) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetXRotation = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetYRotation = function (componentId, degrees) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetZRotation = function (componentId, degrees) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetZRotation = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetScaling = function (componentId, scaling) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetScaling = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetPoints = function (componentId, key, foreign, type) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetIGXCPoints = function (componentId, points) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetIGXCPoints = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SelectComponent = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetSelectedComponent = function () {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SelectComponents2 = function (componentIds, ignoreHandler, shouldNotHighlight) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetSelectedComponents2 = function () {
        throw new Error(_API.Exception);
    };
    No_API.prototype.ShowBehavior = function (componentIds, position) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.RenderInternal = function () {
        throw new Error(_API.Exception);
    };
    No_API.prototype.RedrawSceneHandler = function () {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetupView = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.CreateRootInteractor = function (classId, parameters) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetRootInteractor = function () {
        throw new Error(_API.Exception);
    };
    No_API.prototype.CreateInteractor = function (classId, parameters) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetDistance = function (point, direction) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetHitComponent = function (touch) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetDetailedHitInfos = function (touch, ignoreComponents) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetCollision = function (firstComponent, secondComponent, geometric, error) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetCollisionInfo = function (firstComponent, firstTrafo, secondComponent, secondTrafo, geometric, error) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.InvalidateComponent = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetupWall = function (wallId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetAbstractBounds = function (id, transformation, localBounds, ignoreComponentsWithLayerNames) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetCollisionBounds = function (id, ignoreComponentsWithLayerNames) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetActions = function (id) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetupPlatform = function (id, onlyOneGhost) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetPlatformIds = function (componentId) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetPoint = function (componentId, key, position, rotation) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.SetTransformation = function (componentId, transformation) {
        throw new Error(_API.Exception);
    };
    No_API.prototype.GetComponentOrThrow = function (componentId) {
        throw new Error(_API.Exception);
    };
    return No_API;
}(_API));
export { No_API };
