export class Helpers {
    static get isInitialized() {
        return this._initialized;
    }
    static initialize() {
        if (this._initialized) {
            return;
        }
        if (global.isAndroid) {
            __non_webpack_require__('system_lib://libcanvasnativev8.so');
            this._initialized = true;
        }
        if (global.isIOS) {
            const cm = new CanvasModule();
            cm.install();
            this._initialized = true;
        }
    }
}
Helpers._initialized = false;
//# sourceMappingURL=helpers.js.map