import { Dispatch, FocusEventHandler, KeyboardEventHandler, MouseEventHandler, ReactElement, Ref, SetStateAction } from 'react'; import { ActionType, MenuIndexesType, MenuProps } from '../MenuTypes'; export declare const flattenChildren: (children: React.ReactNode) => ReactElement; export declare const addIdToChildren: (children: MenuProps["children"]) => any; export declare const getContentCss: (positionToToggle: MenuProps["positionToToggle"] | "submenu", up?: boolean) => string; export declare const layoutChildren: (children: MenuProps["children"], handleMenuKeyDown: KeyboardEventHandler, handleMenuMouseMove: MouseEventHandler, handleMenuBlur: FocusEventHandler, menuIndexes: MenuIndexesType, cursor: number, cursorAction: ActionType, enterCounter: number, closeOnSelect: boolean, setRootMenuOpen: Dispatch>, ref: Ref, positionToToggle?: MenuProps["positionToToggle"] | "submenu", up?: boolean) => import("react/jsx-runtime").JSX.Element; export declare const buildMenuIndexes: (children: MenuProps["children"]) => ({ index: number; id: string | undefined; length?: undefined; } | { index: number; id: string | undefined; length: number; })[];