import { OnDestroy, OnInit, ChangeDetectorRef, EventEmitter, AfterViewInit } from '@angular/core'; import { EditorService } from '../../services/editor/editor.service'; import { TreeService } from '../../services/tree/tree.service'; import { FrameworkService } from '../../services/framework/framework.service'; import { EditorTelemetryService } from '../../services/telemetry/telemetry.service'; import { ToasterService } from '../../services/toaster/toaster.service'; import { HelperService } from '../../services/helper/helper.service'; import { IEditorConfig } from '../../interfaces/editor'; import { ICreationContext } from '../../interfaces/CreationContext'; import { Router } from '@angular/router'; import { Observable, Subscription, Subject } from 'rxjs'; import { ConfigService } from '../../services/config/config.service'; import { UntypedFormControl, UntypedFormGroup } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class EditorComponent implements OnInit, OnDestroy, AfterViewInit { private editorService; treeService: TreeService; private frameworkService; private helperService; telemetryService: EditorTelemetryService; private router; private toasterService; configService: ConfigService; private changeDetectionRef; editorConfig: IEditorConfig | undefined; editorEmitter: EventEmitter; private modal; questionComponentInput: any; creationContext: ICreationContext; collectionTreeNodes: any; selectedNodeData: any; templateList: any; showConfirmPopup: boolean; terms: boolean; pageId: string; pageStartTime: any; rootFormConfig: any; unitFormConfig: any; searchFormConfig: any; leafFormConfig: any; relationFormConfig: any; questionlibraryInput: any; editorMode: any; collectionId: any; isCurrentNodeFolder: boolean; isCurrentNodeRoot: boolean; isQumlPlayer: boolean; showQuestionTemplatePopup: boolean; deleteConfirmMessage: any; showDeleteConfirmationPopUp: boolean; showPreview: boolean; actionType: string; private formStatusMapper; targetFramework: any; organisationFramework: any; primaryCategoryDef: any; collectionPrimaryCategoryDef: any; toolbarConfig: any; buttonLoaders: { saveAsDraftButtonLoader: boolean; addFromLibraryButtonLoader: boolean; addQuestionFromLibraryButtonLoader: boolean; previewButtonLoader: boolean; showReviewComment: boolean; }; contentComment: string; showReviewModal: boolean; objectType: string; isStatusReviewMode: boolean; ishierarchyConfigSet: boolean; publishchecklist: any; unSubscribeshowQuestionLibraryPageEmitter: Subscription; sourcingSettings: any; setChildQuestion: any; unsubscribe$: Subject; onComponentDestroy$: Subject; constructor(editorService: EditorService, treeService: TreeService, frameworkService: FrameworkService, helperService: HelperService, telemetryService: EditorTelemetryService, router: Router, toasterService: ToasterService, configService: ConfigService, changeDetectionRef: ChangeDetectorRef); unloadHandler(event: any): void; setEditorConfig(): void; ngOnInit(): void; handleQuestionObjectType(): void; initializeFrameworkAndChannel(collection?: any): void; getFrameworkDetails(categoryDefinitionData: any): void; setOrgFrameworkData(categoryDefinitionData: any): void; setTargetFrameworkData(categoryDefinitionData: any): void; setPublishCheckList(categoryDefinitionData: any): void; setEditorForms(categoryDefinitionData: any): void; ngAfterViewInit(): void; mergeCollectionExternalProperties(): Observable; sethierarchyConfig(primaryCatConfig: any): void; fetchFrameWorkDetails(): void; getHierarchyChildrenConfig(childrenData: any): any; toolbarEventListener(event: any): void; redirectToChapterListTab(data?: any): void; updateToolbarTitle(data: any): void; showQuestionLibraryComponentPage(): void; libraryEventListener(event: any): void; onQuestionLibraryChange(event: any): void; addResourceToQuestionset(contentId: any, resourceType: any): void; saveContent(): Promise; submitHandler(): void; validateFormStatus(): boolean; previewContent(): void; sendForReview(): void; rejectContent(comment: any): boolean; publishContent(event: any): boolean; sourcingApproveContent(event: any): boolean; sourcingRejectContent(obj: any): boolean; setUpdatedTreeNodeData(): void; updateTreeNodeData(): void; treeEventListener(event: any): void; setTemplateList(): void; deleteNode(): void; updateSubmitBtnVisibility(): void; generateTelemetryEndEvent(): void; handleTemplateSelection($event: any): boolean; setEnforceCorrectAnswer(catMetaData: any): void; setLeafFormConfig(selectedTemplateFormFields: any): void; redirectToQuestionTab(mode: any, interactionType?: any): void; setQuestionInputOnRenderTaxonomy(mode: any): void; questionEventListener(event: any): void; get contentPolicyUrl(): any; get commonFrameworkLicenseUrl(): any; showCommentAddedAgainstContent(): boolean; isReviewMode(): any; onFormStatusChange(form: any): void; assignPageEmitterListener(event: any): void; ngOnDestroy(): void; setEvidence(control: any, depends: UntypedFormControl[], formGroup: UntypedFormGroup, loading: any, loaded: any): Observable; setEcm(control: any, depends: UntypedFormControl[], formGroup: UntypedFormGroup, loading: any, loaded: any): Observable; setAllowEcm(control: any, depends: UntypedFormControl[]): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } //# sourceMappingURL=editor.component.d.ts.map