import React from 'react'; import type { EngineInterface, Placement } from '@aomao/engine'; import 'antd/es/tooltip/style/css'; import './index.css'; export declare type ButtonProps = { engine?: EngineInterface; name: string; icon?: React.ReactNode; content?: React.ReactNode | ((engine?: EngineInterface) => React.ReactNode); title?: string; placement?: Placement; hotkey?: boolean | string; command?: { name: string; args: Array; } | Array; autoExecute?: boolean; className?: string; active?: boolean; disabled?: boolean; onClick?: (event: React.MouseEvent, engine?: EngineInterface) => void | boolean; onMouseDown?: (event: React.MouseEvent, engine?: EngineInterface) => void; onMouseEnter?: (event: React.MouseEvent, engine?: EngineInterface) => void; onMouseLeave?: (event: React.MouseEvent, engine?: EngineInterface) => void; }; declare const ToolbarButton: React.ForwardRefExoticComponent>; export default ToolbarButton;