import { Direction, DropTarget, DropTargetDelegate, Key, Node } from '@react-types/shared'; interface TreeCollection extends Iterable> { getItem(key: Key): Node | null; getChildren?(key: Key): Iterable>; getKeyAfter(key: Key): Key | null; getKeyBefore(key: Key): Key | null; } interface TreeState { collection: TreeCollection; expandedKeys: Set; } export declare class TreeDropTargetDelegate { private delegate; private state; private direction; private pointerTracking; setup(delegate: DropTargetDelegate, state: TreeState, direction: Direction): void; getDropTargetFromPoint(x: number, y: number, isValidDropTarget: (target: DropTarget) => boolean): DropTarget | null; private resolveDropTarget; private getPotentialTargets; private selectTarget; } export {};