import React, { type FC, type ReactNode } from 'react';
import { type FocusableElementRef } from '../../types';
/**
 *
 *
 * Context provider which maintains the list of focusable elements and a method to
 * register new menu items.
 * This list drives the keyboard navigation of the menu.
 *
 */
export declare const FocusManagerContext: React.Context<{
    menuItemRefs: FocusableElementRef[];
    registerRef(ref: FocusableElementRef): void;
}>;
/**
 * Focus manager logic.
 */
declare const FocusManager: FC<{
    children: ReactNode;
    onClose: (e: KeyboardEvent) => void;
}>;
export default FocusManager;
