import * as React from "react"; import { ButtonProps } from "antd/es/button"; declare type type = "primary" | "secondary" | "text" | "action-1" | "action-2" | "action-3" | "delete" | "delete-ghost" | "setup-bank" | "warning"; declare type Props = Omit & { type?: type; leftIcon?: React.ReactNode; rightIcon?: React.ReactNode; }; declare const Button: ({ type, leftIcon, rightIcon, children, loading, className, ...props }: Props) => JSX.Element; export default Button;