import React from "react";
import { ButtonProps } from "antd";
type ButtonType = "primary" | "default" | "dashed" | "link" | "text" | "danger" | "plain";
type ButtonShape = "default" | "circle" | "round";
type ButtonSize = "small" | "middle" | "large";
type HtmlType = "button" | "submit" | "reset";
interface CustomButtonProps extends Omit<ButtonProps, "type" | "size"> {
    type?: ButtonType;
    shape?: ButtonShape;
    size?: ButtonSize;
    block?: boolean;
    loading?: boolean;
    disabled?: boolean;
    children: React.ReactNode;
    onClick?: React.MouseEventHandler<HTMLElement>;
    icon?: React.ReactNode;
    danger?: boolean;
    className?: string;
    style?: React.CSSProperties;
    htmlType?: HtmlType;
    name?: string;
}
declare const CustomButton: React.FC<CustomButtonProps>;
export default CustomButton;
