type Callback = () => void; /** * Manages window focus and blur events. * * @class * @category SDK * @subcategory Internal * @param {Callback} onActivityCallback - Callback to invoke when the window gains focus. * @param {Callback} onInactivityCallback - Callback to invoke when the window loses focus. */ export declare class WindowActivityManager { private readonly onActivityCallback; private readonly onInactivityCallback; constructor(onActivityCallback: Callback, onInactivityCallback: Callback); /** * Handles the focus event and invokes the activity callback. * @private */ private handleFocus; /** * Handles the blur event and invokes the inactivity callback. * @private */ private handleBlur; /** * Handles the visibility change event and invokes appropriate callbacks. * @private */ private handleVisibilityChange; /** * Checks if the current window has focus. * @returns {boolean} True if the window has focus; otherwise, false. */ hasFocus: () => boolean; } export {};