import LicensePlugin from '../../utils/license/license';
import FileUploadPlugin from '../file-upload/file-upload';
var RICH_TEXT_LICENSE_KEY = 'm-rich-text-license-key';
var RichTextLicensePlugin = /** @class */ (function () {
    function RichTextLicensePlugin() {
    }
    RichTextLicensePlugin.prototype.install = function (v, options) {
        if (options === void 0) { options = { key: '' }; }
        v.use(LicensePlugin);
        v.use(FileUploadPlugin);
        if (options.key) {
            v.prototype.$license.addLicense(RICH_TEXT_LICENSE_KEY, options.key);
        }
    };
    return RichTextLicensePlugin;
}());
export { RichTextLicensePlugin };
export default new RichTextLicensePlugin();
//# sourceMappingURL=rich-text-license-plugin.js.map