import type { ChartConfig } from '@/types/chart'; /** * Global state manager for chart popup modal. * This singleton manages popup state outside of the component tree, * preventing state loss during DOM re-renders (e.g., during SSE streaming). */ declare class ChartPopupManager { private _isOpen; private _config; private _backgroundColor; private _textColor; /** * Get the isOpen signal accessor */ get isOpen(): import("solid-js").Accessor; /** * Get the config signal accessor */ get config(): import("solid-js").Accessor; /** * Get the backgroundColor signal accessor */ get backgroundColor(): import("solid-js").Accessor; /** * Get the textColor signal accessor */ get textColor(): import("solid-js").Accessor; /** * Open the popup with the given chart configuration */ open(config: ChartConfig, backgroundColor?: string, textColor?: string): void; /** * Close the popup */ close(): void; /** * Reset all state (useful for cleanup) */ reset(): void; } export declare const chartPopupManager: ChartPopupManager; export {}; //# sourceMappingURL=chartPopupManager.d.ts.map