import type { WidgetConfig } from '../../dashboard-builder/models'; import type { LaunchContext, WidgetConfigViewMode } from './widget-config-view.component'; import * as i0 from "@angular/core"; export interface WidgetConfigModalData { widget: WidgetConfig; dashboardName?: string; /** config = full UI with right-hand panel; drilldown = chart + filters + table only (view-mode) */ mode?: WidgetConfigViewMode; launchContext?: LaunchContext; } export interface WidgetConfigModalResult { action: 'save' | 'saveAsNew' | 'close'; widget?: WidgetConfig; } /** * Thin wrapper that opens WidgetConfigViewComponent inside PrimeNG DynamicDialog. * Use this when opening from the dashboard builder. For standalone refinement, use * the sandbox route and WidgetConfigViewComponent directly. */ export declare class WidgetConfigModalComponent { private readonly ref; private readonly config; private readonly data; readonly widget: import("@angular/core").WritableSignal; readonly dashboardName: import("@angular/core").Signal; readonly mode: import("@angular/core").Signal; readonly launchCtx: import("@angular/core").Signal; onClose(): void; onSave(payload: { widget: WidgetConfig; }): void; onSaveAsNew(payload: { widget: WidgetConfig; }): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }