/** * Class which handles browser event subscriptions. */ declare class BrowserEventHandler { private htmlElement; constructor(); /** * Destructor of the class. Call this method before you delete instances of this class to avoid dangling event * subscriptions. */ destructor(): BrowserEventHandler; /** * Removes all event subscriptions. */ removeBrowserEventListeners(): BrowserEventHandler; /** * Adds new event subscriptions to the given DOM node. * * Only one DOM node can hold event subscriptions at the same time, therefore this method will remove old * subscriptions from other nodes automatically. * * @param node The DOM node which should receive the event listeners. */ addBrowserEventListeners(node: HTMLElement): BrowserEventHandler; /** * Handles browser events of the type GetElementEvent. * * **⚠️ Warning**: This is an internal method. You should not use it directly. * * @param event * @private * @internal */ private handleGetElementEvent; /** * Handles browser events of the type GetElementChildrenEvent. * * **⚠️ Warning**: This is an internal method. You should not use it directly. * * @param event * @private * @internal */ private handleGetElementChildrenEvent; /** * Handles browser events of the type GetElementParentsEvent. * * **⚠️ Warning**: This is an internal method. You should not use it directly. * * @param event * @private * @internal */ private handleGetElementParentsEvent; /** * Handles browser events of the type GetElementRelatedEvent. * * **⚠️ Warning**: This is an internal method. You should not use it directly. * * @param event * @private * @internal */ private handleGetElementRelatedEvent; /** * Handles browser events of the type GetIndexEvent. * * **⚠️ Warning**: This is an internal method. You should not use it directly. * * @param event * @private * @internal */ private handleGetIndexEvent; /** * Handles browser events of the type PostIndexEvent. * * **⚠️ Warning**: This is an internal method. You should not use it directly. * * @param event * @private * @internal */ private handlePostIndexEvent; /** * Handles browser events of the type PostElementEvent. * * **⚠️ Warning**: This is an internal method. You should not use it directly. * * @param event * @private * @internal */ private handlePostElementEvent; /** * Handles browser events of the type PutElementEvent. * * **⚠️ Warning**: This is an internal method. You should not use it directly. * * @param event * @private * @internal */ private handlePutElementEvent; /** * Handles browser events of the type PatchElementEvent. * * **⚠️ Warning**: This is an internal method. You should not use it directly. * * @param event * @private * @internal */ private handlePatchElementEvent; /** * Handles browser events of the type DeleteElementEvent. * * **⚠️ Warning**: This is an internal method. You should not use it directly. * * @param event * @private * @internal */ private handleDeleteElementEvent; /** * Handles browser events of the type PostRegisterEvent. * * **⚠️ Warning**: This is an internal method. You should not use it directly. * * @param event * @private * @internal */ private handlePostRegisterEvent; /** * Handles browser events of the type PostChangePasswordEvent. * * **⚠️ Warning**: This is an internal method. You should not use it directly. * * @param event * @private * @internal */ private handlePostChangePasswordEvent; /** * Handles browser events of the type GetMeEvent. * * **⚠️ Warning**: This is an internal method. You should not use it directly. * * @param event * @private * @internal */ private handleGetMeEvent; /** * Handles browser events of the type PostTokenEvent. * * **⚠️ Warning**: This is an internal method. You should not use it directly. * * @param event * @private * @internal */ private handlePostTokenEvent; /** * Handles browser events of the type GetTokenEvent. * * **⚠️ Warning**: This is an internal method. You should not use it directly. * * @param event * @private * @internal */ private handleGetTokenEvent; /** * Handles browser events of the type DeleteTokenEvent. * * **⚠️ Warning**: This is an internal method. You should not use it directly. * * @param event * @private * @internal */ private handleDeleteTokenEvent; } export { BrowserEventHandler };