'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var core = require('@capacitor/core');

const BackgroundRunner = core.registerPlugin('BackgroundRunner', {
    web: () => Promise.resolve().then(function () { return web; }).then(m => new m.BackgroundRunnerWeb()),
});

class BackgroundRunnerWeb extends core.WebPlugin {
    checkPermissions() {
        throw new Error('not available on web');
    }
    requestPermissions() {
        throw new Error('not available on web');
    }
    registerBackgroundTask() {
        throw new Error('not available on web');
    }
    dispatchEvent() {
        throw new Error('not available on web');
    }
}

var web = /*#__PURE__*/Object.freeze({
    __proto__: null,
    BackgroundRunnerWeb: BackgroundRunnerWeb
});

exports.BackgroundRunner = BackgroundRunner;
//# sourceMappingURL=plugin.cjs.js.map
