import { ElementRef, Injector } from '@angular/core'; import { Overlay } from '@angular/cdk/overlay'; import { CustomEditStepRef } from './custom-edit-step-ref'; import { CUSTOM_EDIT_STEP_EDIT_IN_DEPTH, CustomEditStepData } from './custom-edit-step-data'; import * as i0 from "@angular/core"; export declare type CustomEditStepResult = string | undefined | typeof CUSTOM_EDIT_STEP_EDIT_IN_DEPTH; export declare class CustomEditStepService { private readonly overlay; private readonly injector; /** Currently open Step Description overlay ref; only one panel is allowed at a time. */ private currentRef; constructor(overlay: Overlay, injector: Injector); /** * Opens the Step Description modal positioned just below the given origin element. * If a panel is already open, returns the existing ref and does not open a duplicate. * @param origin Element (e.g. description span or edit icon) to position below * @param data Initial description and optional help URL * @returns Ref with afterClosed() and close(); afterClosed emits the new description on Apply, undefined on Cancel, or EDIT_IN_DEPTH symbol when user clicks "Edit in depth" */ open(origin: ElementRef, data: CustomEditStepData): CustomEditStepRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }