import { ButtonProps, DropdownItem, DropdownMenuProps } from "@lobehub/ui"; import { CSSProperties, MouseEvent, Ref } from "react"; type SendButtonClickHandler = (e: MouseEvent) => void; interface SendButtonProps extends Omit { className?: string; disabled?: boolean; generating?: boolean; loading?: boolean; menu?: { items: DropdownItem[]; }; onClick?: SendButtonClickHandler; onSend?: SendButtonClickHandler; onStop?: SendButtonClickHandler; placement?: DropdownMenuProps['placement']; ref?: Ref; shape?: 'default' | 'round'; size?: number; style?: CSSProperties; title?: string; trigger?: DropdownMenuProps['trigger']; type?: ButtonProps['type']; } export { SendButtonClickHandler, SendButtonProps };