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 { DialcodeService } from '../../services/dialcode/dialcode.service'; import { FormControl, FormGroup } from '@angular/forms'; export declare class EditorComponent implements OnInit, OnDestroy, AfterViewInit { private editorService; treeService: TreeService; private frameworkService; private helperService; telemetryService: EditorTelemetryService; private router; private toasterService; private dialcodeService; 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; showLibraryPage: boolean; libraryComponentInput: 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; showComment: boolean; showReviewModal: boolean; csvDropDownOptions: any; showCsvUploadPopup: boolean; objectType: string; isObjectTypeCollection: any; isCreateCsv: boolean; isStatusReviewMode: boolean; isEnableCsvAction: any; isTreeInitialized: any; ishierarchyConfigSet: boolean; addCollaborator: boolean; publishchecklist: any; isComponenetInitialized: boolean; unSubscribeShowLibraryPageEmitter: Subscription; unSubscribeshowQuestionLibraryPageEmitter: Subscription; sourcingSettings: any; setChildQuestion: any; unsubscribe$: Subject; onComponentDestroy$: Subject; outcomeDeclaration: any; levelsArray: any; constructor(editorService: EditorService, treeService: TreeService, frameworkService: FrameworkService, helperService: HelperService, telemetryService: EditorTelemetryService, router: Router, toasterService: ToasterService, dialcodeService: DialcodeService, configService: ConfigService, changeDetectionRef: ChangeDetectorRef); unloadHandler(event: any): void; ngOnInit(): void; initializeFrameworkAndChannel(collection?: any): void; getFrameworkDetails(categoryDefinitionData: any): void; setEditorForms(categoryDefinitionData: any): void; ngAfterViewInit(): void; mergeCollectionExternalProperties(): Observable; sethierarchyConfig(primaryCatConfig: any): void; fetchFrameWorkDetails(): void; getHierarchyChildrenConfig(childrenData: any): any; toggleCollaboratorModalPoup(): void; toolbarEventListener(event: any): void; redirectToChapterListTab(data?: any): void; updateToolbarTitle(data: any): void; showLibraryComponentPage(): 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; redirectToQuestionTab(mode: any, interactionType?: any): void; questionEventListener(event: any): void; get contentPolicyUrl(): any; showCommentAddedAgainstContent(): boolean; handleCsvDropdownOptionsOnCollection(): void; onClickFolder(): void; setCsvDropDownOptionsDisable(disable?: any): void; downloadHierarchyCsv(): void; isReviewMode(): any; downloadCSVFile(tocUrl: any): void; hanndleCsvEmitter(event: any): void; onFormStatusChange(form: any): void; assignPageEmitterListener(event: any): void; ngOnDestroy(): void; setEvidence(control: any, depends: FormControl[], formGroup: FormGroup, loading: any, loaded: any): Observable; setEcm(control: any, depends: FormControl[], formGroup: FormGroup, loading: any, loaded: any): Observable; setAllowEcm(control: any, depends: FormControl[]): Observable; }