import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
import { ComponentStudioStateService } from '../../services/component-studio-state.service';
import * as i0 from "@angular/core";
type RequirementsField = 'functionalRequirements' | 'technicalDesign';
type EditorMode = 'preview' | 'edit';
export declare class RequirementsEditorComponent implements OnInit, OnDestroy {
    State: ComponentStudioStateService;
    private cdr;
    Field: RequirementsField;
    Title: string;
    EditableContent: string;
    IsEditing: boolean;
    ViewMode: EditorMode;
    private stateChangedSub;
    constructor(State: ComponentStudioStateService, cdr: ChangeDetectorRef);
    get FieldIcon(): string;
    ngOnInit(): void;
    ngOnDestroy(): void;
    SetViewMode(mode: EditorMode): void;
    OnContentChanged(): void;
    ApplyChanges(): void;
    CancelChanges(): void;
    private loadContent;
    static ɵfac: i0.ɵɵFactoryDeclaration<RequirementsEditorComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<RequirementsEditorComponent, "mj-requirements-editor", never, { "Field": { "alias": "Field"; "required": false; }; "Title": { "alias": "Title"; "required": false; }; }, {}, never, never, false, never>;
}
export {};
//# sourceMappingURL=requirements-editor.component.d.ts.map