import { EventEmitter, OnInit, OnChanges, SimpleChanges, TemplateRef } from '@angular/core'; import { Map, Set } from 'immutable'; import { ReplaySubject } from 'rxjs/ReplaySubject'; import { AbstractSubscriberComponent } from './abstract-subscriber'; import { AppGlobalsService, JsonStoreService, JsonUtilService, JsonSchemaService, KeysStoreService, PathUtilService, RecordFixerService, SchemaFixerService, TabsUtilService, ProblemsService } from './shared/services'; import { JsonEditorConfig, Preview, SchemaValidationProblems, JsonPatch, CustomShortcutKeys, JSONSchema } from './shared/interfaces'; export declare class JsonEditorComponent extends AbstractSubscriberComponent implements OnChanges, OnInit { appGlobalsService: AppGlobalsService; problemsService: ProblemsService; jsonStoreService: JsonStoreService; jsonUtilService: JsonUtilService; jsonSchemaService: JsonSchemaService; keysStoreService: KeysStoreService; recordFixerService: RecordFixerService; schemaFixerService: SchemaFixerService; tabsUtilService: TabsUtilService; pathUtilService: PathUtilService; config: JsonEditorConfig; record: object; schema: any; problemMap: SchemaValidationProblems; jsonPatches: Array; templates: { [templateName: string]: TemplateRef; }; recordChange: EventEmitter; jsonPatchesChange: EventEmitter; validationProblems: EventEmitter; readonly pathString: string; _record: Map; tabNames: Array; previews: Array; isBottomConsoleOpen: boolean; isPreviewerHidden: boolean; isSidebarCollapsed: boolean; bottomConsoleActiveTab: string; customShortcutKeys: CustomShortcutKeys; fixedSchema: JSONSchema; private lastEmittedRecord; constructor(appGlobalsService: AppGlobalsService, problemsService: ProblemsService, jsonStoreService: JsonStoreService, jsonUtilService: JsonUtilService, jsonSchemaService: JsonSchemaService, keysStoreService: KeysStoreService, recordFixerService: RecordFixerService, schemaFixerService: SchemaFixerService, tabsUtilService: TabsUtilService, pathUtilService: PathUtilService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private throwInputUndefined(inputName); /** * Converts PreviewConfig instances to Preview instances and appends to `previews` array. */ private extractPreviews(); readonly keys$: ReplaySubject>; readonly isPreviewerDisabled: boolean; activeTabName: string; isActiveTab(tabName: any): boolean; readonly shorterEditorContainerClass: string; openBottomConsole(tabName: string): void; trackByElement(index: number, element: any): any; }