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