declare module "node_modules/element-resize-detector/dist/element-resize-detector.min" { export default class ElementResizeDetector { /** * Listens to the element for resize events and calls the listener function with the element as argument on resize events. * * @param element Element to attach the listener. * @param listener Listener to add. */ listenTo(element: Element, listener: (element: Element) => any): any; /** * Removes the listener from the element. * @param element Element to remove the listener from. * @param listener Listener to remove. */ removeListener(element: Element, listener: (element: Element) => any): any; /** * Removes all listeners from the element, but does not completely remove the detector. * Use this function if you may add listeners later and don't want the detector to have to initialize again. * @param element Element to remove all listeners from. */ removeAllListeners(element: Element): any; /** * Completely removes the detector and all listeners. * @param element Element to remove the detector and listeners from. */ uninstall(element: Element): any; } }