/**
 * Copyright 2023 Impulse Innovations Limited
 *
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import { EventEmitter } from 'eventemitter3';
import type { ZoomState } from '../../../types';
import type { TextureCache } from '../texture-cache';
import { MOUSE_EVENTS } from '../utils';
import type { NodeState, PixiNodeStyle } from './definitions';
/**
 * Represents a drawn Node object
 */
export declare class NodeObject extends EventEmitter<(typeof MOUSE_EVENTS)[number]> {
    nodeGfx: PIXI.Container;
    nodeLabelGfx: PIXI.Container;
    /**
     * Current node state
     */
    state: NodeState;
    constructor();
    /**
     * Create a new node container, including sprites for:
     * - circle
     * - border
     */
    private createNode;
    /**
     * Create a new node label, including a sprite for the text
     */
    private createNodeLabel;
    /**
     * Update node style of a given nodeGfx container
     *
     * @param nodeGfx node graphics container
     * @param nodeStyle current node style
     * @param textureCache texture cache instance
     */
    static updateNodeStyle(nodeGfx: PIXI.Container, nodeStyle: PixiNodeStyle, textureCache: TextureCache): void;
    /**
     * Update node style of a given nodeLabelGfx container
     *
     * @param nodeLabelGfx node label graphics container
     * @param nodeStyle current node style
     * @param textureCache texture cache instance
     */
    static updateNodeLabelStyle(nodeLabelGfx: PIXI.Container, nodeStyle: PixiNodeStyle, textureCache: TextureCache): void;
    /**
     * Update visibility of node elements based on zoomstep
     *
     * @param nodeGfx node graphics container
     * @param zoomStep zoom step
     */
    static updateNodeVisibility(nodeGfx: PIXI.Container, zoomState: ZoomState, state: NodeState): void;
    /**
     * Update visibility of node label elements based on zoomstep
     *
     * @param nodeGfx node label graphics container
     * @param zoomStep zoom step
     */
    static updateNodeLabelVisibility(nodeLabelGfx: PIXI.Container, zoomState: ZoomState): void;
    /**
     * Moves all node graphics to given position
     *
     * @param position position to move to
     */
    updatePosition(position: PIXI.PointData): void;
    /**
     * Update styles of all node graphics
     *
     * @param nodeStyle current node style
     * @param textureCache texture cache instance
     */
    updateStyle(nodeStyle: PixiNodeStyle, textureCache: TextureCache): void;
    /**
     * Update visibility of node graphics
     *
     * @param zoomStep current zoom step
     */
    updateVisibility(zoomState: ZoomState): void;
}
//# sourceMappingURL=node-object.d.ts.map