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