/** * Global tooltip manager functions. * These functions manage the global tooltip state and coordination. */ export declare const tooltipManager: { /** * Registers a tooltip with the global manager. * * @param id - Unique identifier for the tooltip. * * @param closeCallback - Function to call when this tooltip should be closed. */ register(id: string, closeCallback: () => void): void; /** * Unregisters a tooltip from the global manager. * * @param id - Unique identifier for the tooltip to unregister. */ unregister(id: string): void; /** * Requests to open a tooltip, automatically closing any currently active tooltip. * * @param id - Unique identifier for the tooltip that wants to open. */ requestOpen(id: string): void; /** * Notifies the manager that a tooltip has closed. * * @param id - Unique identifier for the tooltip that closed. */ onClose(id: string): void; /** * Checks if a specific tooltip is currently the active one. * * @param id - Unique identifier for the tooltip to check. * * @returns True if the tooltip is currently active, false otherwise. */ isActive(id: string): boolean; };