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