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