import * as React from "react"; import { IIconProps } from "./../Icon"; export declare enum ButtonType { Primary = "primary", Secondary = "secondary", Faded = "faded", Light = "light" } export declare enum ButtonSize { Large = "large", Small = "small" } export interface IButtonProps { type?: ButtonType; size?: ButtonSize; onClick?: (e: React.SyntheticEvent) => void; text?: string; subtext?: string; subtextTop?: boolean; icon?: IIconProps | Function; iconRight?: boolean; iconLeft?: boolean; iconTop?: boolean; iconInlineText?: boolean; center?: boolean; alignLeft?: boolean; alignCenter?: boolean; innerRef?: React.RefObject; style?: object; capitalize?: boolean; className?: string; loading?: boolean; htmlType?: string; children?: any; copyOnClick?: () => string; } export declare class Button extends React.Component { ref: React.RefObject; constructor(props: IButtonProps); componentDidMount(): void; render(): JSX.Element; }