import { VNode } from '../../stencil-public-runtime'; import { Target } from '../types'; import { ButtonIconAppearance, ButtonIconPalette, ButtonIconSize } from './types'; /** * Passing a 'href' will render an anchor link, instead of a button. Role will * be set to link, or button, depending on this. It is the consumers * responsibility to add aria information, rel, target, for links, and any * button attributes for form submission. * * @slot - Adds custom content. */ export declare class ButtonIcon { host: HTMLAbdsButtonIconElement; /** Sets appearance (e.g. solid-outline). */ appearance: ButtonIconAppearance; /** Prevents the user from interacting with the button, if passed. */ disabled: boolean; /** Associate button elements to forms with the same id. */ formId: string; /** Sets the URL that the hyperlink points to; Determines if component should render as anchor or button. */ href: string; /** Sets abds-icon to be rendered. */ icon: string; /** Sets aria-label and title attribute. */ label: string; /** * The name of the button, submitted as a pair with the button's value * as part of the form data, when that button is used to submit the form. */ name: string; /** Sets palette (e.g. brand). */ palette: ButtonIconPalette; /** * The relationship of the linked `href` as space-separated link types. * Will only apply if `href` is passed. */ rel: string; /** Sets size (e.g. lg). */ size: ButtonIconSize; /** * Sets where to display the linked `href`. * Will only apply if `href` is passed. */ target: Target; /** Sets default behavior of the button. */ type: string; /** rendered child element */ private tagRef; /** rendered child element node type */ private Tag; private onClick; /** Sets focus on child element. */ setFocus(): Promise; componentWillRender(): void; render(): VNode; }