export type EventsAndListeners = [string, EventListener][]; /** * Adds a set of event listeners to the given target. * @param {EventsAndListeners} events - The events and listeners to add. * @param {Element | Window | Document} target - The target element or window to add the event listeners to. * @param {T} context - The class context to bind the event listeners to. */ export declare function addEventListeners(events: EventsAndListeners, target: Element | Window | Document | ChildNode, context: T): void; /** * Removes a set of event listeners from the given target. * @param {EventsAndListeners} events - The events and listeners to remove. * @param {Element | Window | Document} target - The target element or window to remove the event listeners from. * @param {T} context - The class context to bind the event listeners to. */ export declare function removeEventListeners(events: EventsAndListeners, target: Element | Window | Document | ChildNode, context: T): void;