import React from "react"; import { ControlsProps } from "../../common/controls.type"; import { IconProp } from "../icon"; type IconButtonType = "default" | "primary" | "outline" | "plain" | "borderless" | "text" | "primary-borderless" | "primary-text" | "primary-light-borderless" | "primary-light-text" | "light-borderless" | "light-text"; interface IconButtonProps extends ControlsProps, Omit, "size"> { type?: IconButtonType; loading?: boolean; htmlType?: "button" | "submit" | "reset"; icon?: IconProp; children?: IconProp; } declare const IconButton: ({ type, size, loading, disabled, error, success, warning, icon, children, htmlType, ...restProps }: IconButtonProps) => React.JSX.Element; export default IconButton;