import { IRendererPlugin, Renderer } from "@pixi/core"; import { PickingHitArea } from "./picking-hitarea"; /** * Manages the picking hit areas by keeping track on which hit areas needs to * be checked for interaction. Renders the hit area meshes to a texture which * is then used to map a mesh to a x/y coordinate. The picking manager is * registered as a renderer plugin. */ export declare class PickingInteraction implements IRendererPlugin { renderer: Renderer; private _map; private _hitAreas; /** * Creates a new picking manager using the specified renderer. * @param renderer The renderer to use. */ constructor(renderer: Renderer); /** The main picking interaction which is used by default. */ static main: PickingInteraction; private _update; destroy(): void; /** * Hit tests a area using the specified x/y coordinates. * @param x The x coordinate. * @param y The y coordinate. * @param hitArea The hit area to test. */ containsHitArea(x: number, y: number, hitArea: PickingHitArea): boolean; }