import { type RefObject } from 'react'; import type { CommonMenuProps } from '../../menu/types'; interface UseMenuAnimationOptions { animation: CommonMenuProps['animation']; isPopup: boolean; parentRef: RefObject; focusedItemRef: RefObject; } export interface UseMenuAnimationReturn { applyAnimation: (targetElement: HTMLElement) => void; focusAfterOpen: () => void; } export declare const useMenuAnimation: (opts: UseMenuAnimationOptions) => UseMenuAnimationReturn; export {};