import * as React from 'react'; declare const ButtonTypes: ["default", "primary"]; export declare type ButtonType = typeof ButtonTypes[number]; export interface ButtonProps { type?: ButtonType; size?: string; className?: string; style?: React.CSSProperties; children?: React.ReactNode; disabled?: boolean; danger?: boolean; shape?: string; block?: boolean; float?: boolean | string; loading?: boolean; loadingText?: string; plain?: boolean; hairline?: boolean; look?: string; color?: string; icon?: string | React.ReactNode; ghost?: boolean; onTap?: (e: any) => void; [restProps: string]: any; } declare const AButton: (props: ButtonProps) => React.ReactElement; export default AButton;