export declare enum NodeType { /** the node is a standard ground convex polygon that is part of the surface of the mesh */ POLY = 0, /** the node is an off-mesh connection */ OFFMESH = 1 } /** * Serialized node reference * Layout (52 bits total): * - Bit 1: type (1 bit) - fast access with 32-bit bitwise ops * - Bits 2-32: nodeIndex (31 bits) - fast access with 32-bit bitwise ops * - Bits 33-52: sequenceNumber (20 bits) - requires non-32-bit bitwise ops */ export type NodeRef = number; /** Invalid node reference constant */ export declare const INVALID_NODE_REF = -1; export declare const MAX_NODE_INDEX = 2147483647; export declare const MAX_SEQUENCE: number; /** Serializes a node reference from its components */ export declare const serNodeRef: (type: NodeType, nodeIndex: number, sequence: number) => NodeRef; /** Gets the node type from a node reference */ export declare const getNodeRefType: (ref: NodeRef) => NodeType; /** Gets the node index from a node reference */ export declare const getNodeRefIndex: (ref: NodeRef) => number; /** Gets the sequence number from a node reference */ export declare const getNodeRefSequence: (ref: NodeRef) => number;