import React from 'react'; import { IconType } from "../../../../../icons/src"; import { ButtonColor, ButtonFill } from './types'; import { ComponentSize } from '../types'; export type ButtonProps = { label?: string; color?: ButtonColor; size?: ComponentSize; fill?: ButtonFill; disabled?: boolean; isLoading?: boolean; loadingText?: string; iconLeft?: IconType; iconRight?: IconType; onClick?: (e: React.MouseEvent) => void; } & React.HTMLAttributes; declare const _default: (({ label, color, size, fill, disabled, iconLeft, iconRight, isLoading, loadingText, onClick, ...rest }: ButtonProps) => React.JSX.Element) & { Group: ({ children, alignment }: { children: React.ReactNode; alignment?: "left" | "right"; }) => React.JSX.Element; }; export default _default;