import { Injector, Signal, WritableSignal } from '@angular/core'; import { Observable, Subject } from 'rxjs'; import { cond } from '../../../angular-terminal/dom-terminal/sources/core/dom/StyleHandler'; import { Command, ShortcutService } from '../../../commands/shortcut.service'; import { BaseControlValueAccessor } from '../../../utils/base-control-value-accessor'; import { DataFormat } from '../../../utils/data-format'; import { JsonPath } from '../../../utils/jsonPath'; import { AnyObject } from '../../../utils/utils'; import { ExternalTextEditor } from '../external-text-editor'; import { List } from '../list/list'; import { LogPointService } from '../../../logs/LogPointService'; import * as i0 from "@angular/core"; export declare class JsonEditor { readonly data: import("@angular/core").InputSignal; readonly valueRef: import("@angular/core").ModelSignal; readonly dataFormat: import("@angular/core").InputSignal; readonly path: import("@angular/core").InputSignal; readonly isRoot: import("@angular/core").InputSignal; readonly focusPath: import("@angular/core").InputSignal | Observable>; readonly focused: WritableSignal<"key" | "value">; valueText: string; controlValueAccessor: BaseControlValueAccessor; readonly $childFocusPath: import("../../../utils/Signal2").Signal2; readonly list: Signal>; readonly jsonEditors: Signal; shortcutService: ShortcutService; logger: import("../../../angular-terminal/logger").Logger; externalTextEditor: ExternalTextEditor; injector: Injector; lp: LogPointService; constructor(); setup(): Promise; ngOnInit(): Promise; textChange(text: string): void; /** * Creates a javascript object from the json-editor. */ getValue(): AnyObject | string | null | number; setValue(value: any): void; visibleKey(): boolean; createNewLine(): void; focusJsonPath(jsonPath: JsonPath): void; /** * Shortcuts */ shortcuts: Partial[]; rootShortcuts: Partial[]; /** * Shortcuts that only apply when focused on a list */ shortcutsForList: Partial[]; cond: typeof cond; toString(): string; destroy$: Subject; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export interface ValueRef { key?: any; value: any; type: string; childrenValueRefs?: WritableSignal; }