import type { ReactElement, HTMLAttributes, Ref } from "react";
import type SlIconButtonElement from "@shoelace-style/shoelace/dist/components/icon-button/icon-button.js";
import { SlBlurEvent, SlFocusEvent } from "../events";
export type { SlIconButtonElement };
export type SlIconButtonBlurEvent = SlBlurEvent;
export type SlIconButtonFocusEvent = SlFocusEvent;
export interface SlIconButtonProps extends HTMLAttributes {
ref?: Ref;
/**
* The name of the icon to draw. Available names depend on the icon library being used.
*/
name?: string | undefined;
/**
* The name of a registered custom icon library.
*/
library?: string | undefined;
/**
* An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and
* can result in XSS attacks.
*/
src?: string | undefined;
/**
* When set, the underlying button will be rendered as an `` with this `href` instead of a `