import { Group, Scene } from "spritejs";
import { BaseNodeMapItem, IRectType } from "./types";
import { EToolsKey } from ".";
import { _SetTrue } from "../plugin";
export declare class VNodeManager {
    viewId: string;
    scene: Scene;
    fullLayer?: Group;
    curNodeMap: Map<string, BaseNodeMapItem>;
    targetNodeMap: Map<string, BaseNodeMapItem>[];
    private highLevelIds?;
    private canClearUids?;
    private localUid?;
    constructor(viewId: string, scene: Scene);
    init(fullLayer: Group): void;
    get(name: string): BaseNodeMapItem | undefined;
    setLocalUid(uid: string): void;
    getLocalUid(): string | undefined;
    setCanClearUids(clearUids?: _SetTrue): void;
    getCanClearUids(): _SetTrue | undefined;
    getCanEraserNodes(nodeMap: Map<string, BaseNodeMapItem>): Map<string, BaseNodeMapItem>;
    getNodesByType(type: EToolsKey): Map<string, BaseNodeMapItem>;
    hasRenderNodes(): boolean;
    has(name: string): boolean;
    setInfo(name: string, info: Partial<BaseNodeMapItem>): void;
    selected(name: string): void;
    unSelected(name: string): void;
    delete(name: string): void;
    clear(): void;
    getRectIntersectRange(rect: IRectType, filterLock?: boolean, filterEditor?: boolean): {
        rectRange: IRectType | undefined;
        nodeRange: Map<string, BaseNodeMapItem>;
    };
    getNodeRectFormShape(name: string, value: BaseNodeMapItem): IRectType | undefined;
    updateNodeRect(key: string): void;
    updateHighLevelNodesRect(highLevelIds: Set<string>): void;
    updateLowLevelNodesRect(): void;
    clearHighLevelIds(): void;
    setTargetAssignKeys(keys: Array<string>): number;
    setTarget(): number;
    getLastTarget(): Map<string, BaseNodeMapItem>;
    deleteLastTarget(): void;
    getTarget(i: number): Map<string, BaseNodeMapItem>;
    deleteTarget(i: number): void;
    clearTarget(): void;
    isLocalWorkId(workId: string): boolean;
    isCanClearWorkId(workId: string): boolean | "" | undefined;
}
