import * as React from "react"; import { ButtonProps } from "antd/es/button"; declare type type = "primary" | "secondary"; declare type Props = Omit & { type?: type; leftIcon?: React.ReactNode; rightIcon?: React.ReactNode; }; export declare const ButtonProtec: ({ type, leftIcon, rightIcon, children, loading, className, ...props }: Props) => JSX.Element; export {};