import * as React from 'react'; import type { SemanticClassName } from "../_util/classNameUtils"; import type { ButtonProps } from '../button'; import type { ButtonHTMLType } from '../button/Button'; import type { SizeType } from '../config-provider/SizeContext'; import type { DropdownProps } from './Dropdown'; export type DropdownButtonType = 'default' | 'primary' | 'link' | 'text'; export interface DropdownButtonProps extends DropdownProps { className?: SemanticClassName<{ overlay?: string; button?: string; }>; type?: DropdownButtonType; htmlType?: ButtonHTMLType; danger?: boolean; disabled?: boolean; loading?: ButtonProps['loading']; onClick?: React.MouseEventHandler; icon?: React.ReactNode; href?: string; title?: string; buttonsRender?: (buttons: React.ReactNode[]) => React.ReactNode[]; size?: SizeType; style?: React.CSSProperties; prefixCls?: string; children?: React.ReactNode; } type CompoundedComponent = React.FC & {}; declare const DropdownButton: CompoundedComponent; export default DropdownButton;