import { ElementRef, Injector } from '@angular/core'; import { Overlay } from '@angular/cdk/overlay'; import { TestDataModalRef } from './test-data-modal-ref'; import { TEST_DATA_MODAL_EDIT_IN_DEPTH, TestDataModalData } from './test-data-modal-data'; import * as i0 from "@angular/core"; export declare type TestDataModalResult = string | TestDataModalData | undefined | typeof TEST_DATA_MODAL_EDIT_IN_DEPTH; export declare class TestDataModalService { private readonly overlay; private readonly injector; /** Currently open Test Data overlay ref; only one panel is allowed at a time. */ private currentRef; constructor(overlay: Overlay, injector: Injector); /** * Opens the Test Data 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. test data trigger) to position below * @param data Initial value, optional help URL, and optional active tab * @returns Ref with afterClosed() and close(); afterClosed emits the value on Apply, undefined on Cancel, or EDIT_IN_DEPTH symbol when user clicks "Edit in depth" */ open(origin: ElementRef, data: TestDataModalData): TestDataModalRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }