import { CollisionDetectionFn } from './sensor';
import { IDnDProviderInternal } from '../types/provider';
/**
 * Phase 1: ancestor-walk from the topmost element under the cursor.
 *
 * document.elementFromPoint (singular) returns the actual hit-tested element —
 * the same target as a real pointer event. Walking up from it collects only
 * registered elements that are ancestors (or the element itself), which means
 * elements behind a modal are never included even though they share the same
 * screen coordinates.
 *
 * Returns null when no registered element or zone is found in the ancestor chain.
 */
export declare function runCursorPhase(provider: IDnDProviderInternal): {
    elements: HTMLElement[];
    zones: HTMLElement[];
} | null;
export declare const defaultCollisionDetection: CollisionDetectionFn;
