import type { NetworkSceneNode, NetworkSceneEdge } from "./networkTypes";
export interface NetworkHitResult {
    type: "node" | "edge";
    datum: any;
    x: number;
    y: number;
    distance: number;
}
/**
 * Hit test against network scene nodes and edges.
 *
 * Checks nodes first (they're on top), then edges.
 */
export declare function findNearestNetworkNode(sceneNodes: NetworkSceneNode[], sceneEdges: NetworkSceneEdge[], px: number, py: number, maxDistance?: number): NetworkHitResult | null;
