import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
import { ComponentStudioStateService } from '../../services/component-studio-state.service';
import * as i0 from "@angular/core";
export declare class EditorTabsComponent implements OnInit, OnDestroy {
    state: ComponentStudioStateService;
    private cdr;
    private stateChangedSub;
    /** Tracked so we can default to the Form Builder tab the first time a form-role component loads. */
    private lastFormRole;
    constructor(state: ComponentStudioStateService, cdr: ChangeDetectorRef);
    ngOnInit(): void;
    ngOnDestroy(): void;
    SelectTab(index: number): void;
    /** True iff the current spec declares itself form-role. */
    get IsFormRoleComponent(): boolean;
    /**
     * Auto-select the Form Builder tab the first time a form-role component
     * appears in state. Don't fight the user after that — if they switched
     * to Code or Spec, leave them there on subsequent state updates.
     */
    private maybeAutoSelectFormBuilder;
    static ɵfac: i0.ɵɵFactoryDeclaration<EditorTabsComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<EditorTabsComponent, "mj-editor-tabs", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=editor-tabs.component.d.ts.map