import type { Size } from '@nvidia-elements/core/internal'; import { Button } from '@nvidia-elements/core/button'; import type { IconName } from '@nvidia-elements/core/icon'; import { Icon } from '@nvidia-elements/core/icon'; /** * @element nve-icon-button * @description Uses an icon as the visible button label. Provide an accessible name that describes the action and choose a named icon or supply custom icon content. * @documentation https://nvidia.github.io/elements/docs/elements/icon-button/ * @since 0.2.1 * @entrypoint \@nvidia-elements/core/icon-button * @slot - default slot for custom icons * @cssprop --border-radius * @cssprop --padding * @cssprop --line-height * @cssprop --gap * @cssprop --height * @cssprop --width * @cssprop --font-size * @cssprop --color * @cssprop --background * @csspart icon - The icon element * @aria https://www.w3.org/WAI/ARIA/apg/patterns/button/ */ export declare class IconButton extends Button { /** * A built-in icon name, a name registered with `Icon.add()` in `namespace:name` form, or a URL ending in `.svg`. */ iconName: IconName | `${string}:${string}` | `${string}.svg`; /** * Sets the direction of the icon. * Only supported by expand-panel/collapse-panel (horizontal axis) and arrow/caret/chevron icons (4-directions) */ direction: 'up' | 'down' | 'left' | 'right'; /** * Sets size of the icon button. */ size?: Size; /** * Selects the outline or solid form of the named icon. Solid icons use an optional `-solid` asset and fall back to * the outline form when that asset is unavailable. */ appearance?: 'outline' | 'solid'; static styles: import("lit").CSSResult[]; static readonly metadata: { tag: string; version: string; }; static elementDefinitions: { [Icon.metadata.tag]: typeof Icon; }; render(): import("lit-html").TemplateResult<1>; }