import { ChatConfigurator, } from '../../shared/framework';
import { ReactionsExtensionDecorator } from './ReactionsDecorator';
export class ReactionsExtension {
    ReactionsConfigurationInterface;
    constructor(ReactionsConfigurationConfiguration) {
        if (ReactionsConfigurationConfiguration != null) {
            this.ReactionsConfigurationInterface =
                ReactionsConfigurationConfiguration;
        }
    }
    /**
     * enable
     *  @description enables the Text moderation extension which includes Data profanity and data masking
     */
    enable() {
        ChatConfigurator.enable((dataSource) => {
            return new ReactionsExtensionDecorator(dataSource, this.ReactionsConfigurationInterface);
        });
    }
}
//# sourceMappingURL=ReactionsExtension.js.map