import { InjectionToken } from '@angular/core'; import type { ParameterScopeFilter, ParameterItem } from './test-data-modal-parameter.model'; import type { EnvironmentItem } from './test-data-modal-environment.model'; export declare type TestDataModalTab = 'plain-text' | 'parameter' | 'environment' | 'runtime'; /** * Config/data for Test Data Modal controls. * Mirrors Loop Step pattern: single config object holds all control state; * values are initialized from config and bound to editForm. */ export interface TestDataModalData { /** Initial value for Plain Text tab (e.g. URL for navigate step). */ value?: string; /** Optional help URL for "Need help?" link. */ helpUrl?: string; /** Initially selected tab. Defaults to 'plain-text'. */ activeTab?: TestDataModalTab; /** Parameter tab: scope filter (All / Global / Local). */ parameterScopeFilter?: ParameterScopeFilter; /** Parameter tab: search query. */ parameterSearchQuery?: string; /** Parameter tab: selected parameter id (for highlight). */ selectedParameterId?: string | null; /** Parameter tab: list of parameters to display. */ parameters?: ParameterItem[]; /** Environment tab: search query. */ environmentSearchQuery?: string; /** Environment tab: selected environment id (for highlight). */ selectedEnvironmentId?: string | null; /** Environment tab: list of environment items to display. */ environmentItems?: EnvironmentItem[]; /** Runtime tab: value (independent from Plain Text / Parameter / Environment). */ runtimeValue?: string; } /** Sentinel returned from afterClosed() when user clicked "Edit in depth". */ export declare const TEST_DATA_MODAL_EDIT_IN_DEPTH: unique symbol; export declare const TEST_DATA_MODAL_DATA: InjectionToken;