import * as React from 'react'; import { BoxProps } from '../Box'; import { DropdownMenuInitialState, DropdownMenuStateReturn } from './DropdownMenuState'; export declare type LocalDropdownMenuProps = { menu: any; children: React.ReactElement; visible?: DropdownMenuInitialState['visible']; baseId?: DropdownMenuInitialState['baseId']; dropdownMenuState?: DropdownMenuInitialState; }; export declare type DropdownMenuProps = BoxProps & LocalDropdownMenuProps; export declare const DropdownMenuContext: React.Context<{ dropdownMenu: Partial; overrides: any; }>; export declare const DropdownMenu: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; };