/**
 * Shared hit-testing utilities used by CanvasHitTester, OrdinalCanvasHitTester,
 * and NetworkCanvasHitTester.
 */
export interface RectHitResult {
    hit: boolean;
    cx: number;
    cy: number;
}
/**
 * Test whether a point (px, py) falls within a rectangle defined by
 * { x, y, w, h } and return the rectangle's center coordinates.
 */
export declare function hitTestRect(px: number, py: number, node: {
    x: number;
    y: number;
    w: number;
    h: number;
}): RectHitResult;
/**
 * Compute the effective hit radius for a point/circle node.
 * Uses the larger of the visual radius + tolerance, Fitts's law minimum (12px),
 * and the caller's maxDistance (default 30px).
 */
export declare function getHitRadius(nodeRadius: number | undefined, maxDistance?: number): number;
/**
 * Convert a value to a Date if possible. Returns null for non-date values.
 * Treats numbers > 1e9 as millisecond timestamps.
 */
export declare function toDate(value: any): Date | null;
/**
 * Detect whether a tick marks a time boundary (new month or year) compared to the previous tick.
 */
export declare function isTimeLandmark(value: any, prevValue: any): boolean;
/**
 * Normalize an angle to the [0, 2π) range.
 */
export declare function normalizeAngle(angle: number): number;
