import React from 'react'; import { EngineInterface } from '@aomao/engine'; import 'antd/es/tooltip/style/css'; export declare type DropdownListItem = { key: string; icon?: React.ReactNode; content?: React.ReactNode | ((engine?: EngineInterface) => React.ReactNode); hotkey?: boolean | string; isDefault?: boolean; title?: string; placement?: 'right' | 'top' | 'left' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'leftBottom' | 'rightTop' | 'rightBottom'; className?: string; disabled?: boolean; command?: { name: string; args: Array; } | Array; autoExecute?: boolean; }; export declare type DropdownListProps = { engine?: EngineInterface; direction?: 'vertical' | 'horizontal'; name: string; items: Array; values: string | Array; className?: string; onSelect?: (event: React.MouseEvent, key: string) => void | boolean; hasDot?: boolean; }; declare const DropdownList: React.FC; export default DropdownList;