import { ElementRef, Injector } from '@angular/core'; import { Overlay } from '@angular/cdk/overlay'; import { StepDetailsModalRef } from './step-details-modal-ref'; import { StepDetailsModalData } from './step-details-modal-data'; import * as i0 from "@angular/core"; export declare class StepDetailsModalService { private readonly overlay; private readonly injector; /** Currently open Step Details overlay ref; only one panel is allowed at a time. */ private currentRef; constructor(overlay: Overlay, injector: Injector); /** * Opens the Step Details 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. "View Details" link) to position below * @param data Title and description to display * @returns Ref with afterClosed() and close() */ open(origin: ElementRef, data: StepDetailsModalData): StepDetailsModalRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }