import { Uaas } from "./uaas";
const singleton = Symbol();
const singletonEnforcer = Symbol();
export class UaasService extends Uaas {
    constructor(enforcer) {
        super();
        if (enforcer !== singletonEnforcer) {
            throw new Error('Cannot construct singleton');
        }
        this._type = 'UaasService';
    }
    static get instance() {
        if (!this[singleton]) {
            this[singleton] = new UaasService(singletonEnforcer);
        }
        return this[singleton];
    }
    get type() {
        return this._type;
    }
    set type(value) {
        this._type = value;
    }
}
//# sourceMappingURL=uaas-service.js.map