/**
 * @file anchorName.ts
 * @input HTMLElement with CSS anchor-name property
 * @output Helpers for managing comma-separated anchor-name lists
 * @position Utility; used by useLayer for multi-anchor support
 *
 * SYNC: When modified, update:
 * - /packages/core/src/Layer/useLayer.tsx (imports from here)
 */
/**
 * CSS `anchor-name` is a comma-separated list, so multiple layers can anchor to
 * the same element (e.g. several TopNavMegaMenus anchored to one <nav>). These
 * helpers add/remove a single layer's anchor id without clobbering the others —
 * overwriting the whole property would break every sibling layer's positioning.
 */
export declare function readAnchorNames(el: HTMLElement): string[];
export declare function writeAnchorNames(el: HTMLElement, names: string[]): void;
export declare function addAnchorName(el: HTMLElement, name: string): void;
export declare function removeAnchorName(el: HTMLElement, name: string): void;
//# sourceMappingURL=anchorName.d.ts.map