import { ReactNode } from '../../react/adapter.ts'; /** * Anchor Registry * * Tracks DOM elements for menu positioning. * Each anchor is scoped by documentId and itemId. */ export interface AnchorRegistry { register(documentId: string, itemId: string, element: HTMLElement): void; unregister(documentId: string, itemId: string): void; getAnchor(documentId: string, itemId: string): HTMLElement | null; } export declare function AnchorRegistryProvider({ children }: { children: ReactNode; }): import("react/jsx-runtime").JSX.Element; export declare function useAnchorRegistry(): AnchorRegistry;