/** @packageDocumentation
 * @module Tools
 */
import { ScreenViewport } from "../Viewport";
/**
 * An EventController maps user input events from a Viewport to the ToolAdmin so that tools can process them.
 * Viewports are assigned an EventController when they are registered with ViewManager.addViewport and they are destroyed with ViewManager.dropViewport.
 * @public
 * @extensions
 */
export declare class EventController {
    vp: ScreenViewport;
    private readonly _removals;
    constructor(vp: ScreenViewport);
    destroy(): void;
    /**
     * Call element.addEventListener for each type of DOM event supplied. Creates a listener that will forward the HTML event to ToolAdmin.addEvent.
     * Records the listener in the [[removals]] member so they are removed when this EventController is destroyed.
     * @param domType An array of DOM event types to pass to element.addEventListener
     * @param element The HTML element to which the listeners are added
     */
    private addDomListeners;
}
//# sourceMappingURL=EventController.d.ts.map