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