import React from 'react'; import { Animation } from '../tooltip/utils'; export declare type DropdownContextProps = { mode: 'switch' | 'nest'; switchKey?: string; activeKey?: string; showArrow?: boolean; animation?: Animation; visible?: boolean; rightVisible?: boolean; onChangeVisible: (value: boolean) => void; onChangeRightVisible: (value: boolean) => void; isDropdown?: boolean; }; export declare const defaultValue: DropdownContextProps; export declare const DropdownContext: React.Context; export declare const useDropdown: () => DropdownContextProps;