export interface DisplayStateConfigInterface { /** * Text to display when there is no data. When set to `false`, this message will not be displayed. * * @default 'No data' */ noDataMessage?: string | false; /** * Text to display when data is loading. When set to `false`, this message will not be displayed. * * @default 'Data loading...' */ loadingMessage?: string | false; /** * Whether to disable all messages in the DisplayState element. * * @default false */ disableStateMessages?: boolean; /** * Whether to allow pointer events on the DisplayState element when message is visible. * * @default false */ allowPointerEvents?: boolean; } declare const defaultDisplayStateConfig: DisplayStateConfigInterface; /** * Base class that manages DisplayState UI states for data visualization components * Used to encapsulate shared DisplayState logic */ export declare class DisplayStateManager { protected _displayStateDiv: HTMLElement; protected _displayStateTimeout: NodeJS.Timeout | null; protected _displayStateConfig: DisplayStateConfigInterface; protected _displayStateContainerNode: HTMLElement; static extractConfig(config: DisplayStateConfigInterface, defaultConfig: DisplayStateConfigInterface): DisplayStateConfigInterface; constructor(containerNode: HTMLElement, config?: DisplayStateConfigInterface); /** * Creates the DisplayState element that displays loading/no data states */ protected _createDisplayStateElement(): HTMLElement; /** * Sets the DisplayState element to loading state */ setLoadingState(): void; /** * Shows the DisplayState element with the specified text * @param text - Optional text to display, defaults to noDataMessage */ showState(text?: string): void; /** * Hides the DisplayState element */ hideState(): void; /** * Updates the DisplayState configuration */ setDisplayStateConfig(config: DisplayStateConfigInterface): void; /** * Clears any pending DisplayState animation timeouts */ protected _resetDisplayStateTimeout(): void; /** * Cleanup method for DisplayState elements */ destroy(): void; } export { defaultDisplayStateConfig };