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