import * as _yamada_ui_core from '@yamada-ui/core';
import { ReactElement } from 'react';
import { ButtonProps } from './button.mjs';
import '@yamada-ui/loading';

interface IconButtonOptions {
    /**
     * The icon to be used in the button.
     */
    icon?: ReactElement;
}
interface IconButtonProps extends Omit<ButtonProps, "endIcon" | "leftIcon" | "loadingIcon" | "loadingPlacement" | "loadingText" | "rightIcon" | "startIcon">, IconButtonOptions {
}
/**
 * `IconButton` is a component that displays an icon within a button.
 *
 * @see Docs https://yamada-ui.com/components/forms/icon-button
 */
declare const IconButton: _yamada_ui_core.Component<"button", IconButtonProps>;

export { IconButton, type IconButtonProps };
