/** * Adds data-action-id attributes to first-level children of the actions container * Ensures unique IDs by checking existing ones */ export declare function addActionIdsToFirstLevelChildren(actionsContainerEl: HTMLElement | null): void; /** * Creates a map of elements to their IDs */ export declare function createElementIdMap(directChildren: HTMLElement[]): Map; /** * Cleans up overflow IDs for elements that no longer exist */ export declare function cleanupOverflowIds(overflowIds: Set, currentElementIds: Set): void; /** * Applies visibility classes to elements based on overflow state */ export declare function applyElementVisibility(element: HTMLElement, elementId: string, overflowIds: Set): void; /** * Syncs more-actions content visibility based on overflow state * Shows more-actions items whose data-action-id is in overflowIds * Supports nested elements with data-action-id (e.g., Menu > MenuItem) */ export declare function syncMoreActionsVisibility(moreDropdownMenuEl: HTMLElement | null, overflowIds: Set): void;