import { type ReactElement } from "react";
import type { BaseProps } from './Button';
import { Tooltip } from '../tooltip';
/** The props for the {@link Icon} */
export interface IconProps extends BaseProps {
    children: ReactElement | string;
    loading?: boolean;
}
/**
 * Use.Icon a button that only renders an icon without any text.
 *
 * @param props - Props for the component, which are passed down to the underlying
 * element.
 * @param props.size - The size of button to render.
 * @param props.variant - The variant of button to render. Options are "filled" (default),
 * "outlined", and "text".
 * @param props.children - A ReactElement representing the icon to render.
 */
export declare const Icon: import("react").ForwardRefExoticComponent<Omit<IconProps & import("react").RefAttributes<HTMLButtonElement> & Tooltip.WrapProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
