import React, { MouseEventHandler, AnchorHTMLAttributes, ReactNode } from 'react'; import { FontAwesomeIconProps } from '@fortawesome/react-fontawesome'; declare const ButtonTypes: ["default", "primary", "ghost", "dashed", "link", "text"]; type ButtonType = typeof ButtonTypes[number]; declare const ButtonSizes: ["small", "middle", "large"]; type ButtonSize = typeof ButtonSizes[number]; declare const ButtonShapes: ["default", "round", "circle"]; type ButtonShape = typeof ButtonShapes[number]; type AnchorButtonProps = { href: string; target?: string; onClick?: MouseEventHandler; } & BaseButtonProps & Omit, 'type' | 'onClick'>; interface BaseButtonProps { type?: ButtonType; size?: ButtonSize; className?: string; children?: ReactNode; ghost?: boolean; danger?: boolean; disabled?: boolean; shape?: ButtonShape; loading?: boolean; iconName?: FontAwesomeIconProps['icon']; } type ButtonProps = Partial; declare const KButton: React.ForwardRefExoticComponent & React.RefAttributes>; export { AnchorButtonProps, BaseButtonProps, ButtonProps, ButtonShape, ButtonSize, ButtonType, KButton as default };