import type { FloatingNodeType, ReferenceType } from '../types'; export declare function getAncestors(nodes: Array>, id: string | undefined): FloatingNodeType[];