/** * Chart Initialization Queue * * Internal system that manages sequential initialization of multiple charts. * This is automatically integrated into createChart - no external usage needed. */ /** * Internal: Wait for turn in initialization queue * Returns the assigned chart ID */ export declare function waitForInitTurn(): Promise; /** * Internal: Mark chart initialization as complete */ export declare function markInitComplete(id: string): void; /** * Get queue status (for debugging) */ export declare function getInitQueueStatus(): { pending: number; completed: number; currentId: string | null; isProcessing: boolean; }; /** * Reset the queue (call on page navigation if needed) */ export declare function resetInitQueue(): void; export declare class ChartInitQueue { private static instance; static getStatus(): { pending: number; completed: number; currentId: string | null; isProcessing: boolean; }; static reset(): void; } export declare function getChartInitQueue(): { getStatus: () => { pending: number; completed: number; currentId: string | null; isProcessing: boolean; }; reset: () => void; }; export declare function queueChartInit(_id: string, fn: () => Promise): Promise; export declare function waitForAnimations(durationMs?: number): Promise; export declare function resetChartQueue(): void;