import { EventEmitter } from '@angular/core';
import { IconService } from 'carbon-components-angular';
import { EditorModel } from '../../models';
import { BehaviorSubject } from 'rxjs';
import * as i0 from "@angular/core";
export declare class JsonEditorComponent {
    private readonly iconService;
    private readonly _disabled;
    set disabled(value: boolean);
    private _initialModel;
    set model(value: EditorModel);
    get model(): EditorModel;
    editorOptions: any;
    fitPage: boolean;
    fitPageExtraSpace: number;
    formatOnLoad: boolean;
    heightPx: number;
    heightStyle: string;
    jsonSchema?: string;
    showEditButton: boolean;
    widthPx: number;
    readonly changeEvent: EventEmitter<any>;
    readonly discardEvent: EventEmitter<any>;
    readonly keepEditingEvent: EventEmitter<any>;
    readonly saveEvent: EventEmitter<object>;
    readonly isEditActive: import("@angular/core").WritableSignal<boolean>;
    readonly isDisabled: import("@angular/core").Signal<boolean>;
    readonly isValidJson: import("@angular/core").WritableSignal<boolean>;
    readonly showSaveConfirmationModal$: BehaviorSubject<boolean>;
    readonly showCancelConfirmationModal$: BehaviorSubject<boolean>;
    private _changesToSave;
    constructor(iconService: IconService);
    onCancelClick(): void;
    onEditClick(): void;
    onDiscardChanges(): void;
    onKeepEditingDefinition(): void;
    onSaveChanges(): void;
    onSaveClick(): void;
    onValidEvent(isValid: boolean): void;
    onValueChangeEvent(value: string): void;
    private resetEditor;
    static ɵfac: i0.ɵɵFactoryDeclaration<JsonEditorComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<JsonEditorComponent, "valtimo-json-editor", never, { "disabled": { "alias": "disabled"; "required": false; }; "model": { "alias": "model"; "required": false; }; "editorOptions": { "alias": "editorOptions"; "required": false; }; "fitPage": { "alias": "fitPage"; "required": false; }; "fitPageExtraSpace": { "alias": "fitPageExtraSpace"; "required": false; }; "formatOnLoad": { "alias": "formatOnLoad"; "required": false; }; "heightPx": { "alias": "heightPx"; "required": false; }; "heightStyle": { "alias": "heightStyle"; "required": false; }; "jsonSchema": { "alias": "jsonSchema"; "required": false; }; "showEditButton": { "alias": "showEditButton"; "required": false; }; "widthPx": { "alias": "widthPx"; "required": false; }; }, { "changeEvent": "changeEvent"; "discardEvent": "discardEvent"; "keepEditingEvent": "keepEditingEvent"; "saveEvent": "saveEvent"; }, never, ["*"], true, never>;
}
//# sourceMappingURL=json-editor.component.d.ts.map