/* * Copyright (c) 2025, Salesforce, Inc. * All rights reserved. * For full license text, see the LICENSE.txt file */ /** * The `lightning/buttonIconStateful` component displays an icon-only button. * @see {@link https://developer.salesforce.com/docs/component-library/bundle/lightning-button-icon-stateful/documentation |Lightning ButtonIconStateful Documentation} */ declare module "lightning/buttonIconStateful" { import { LightningElement } from "lwc"; /** * A stateful icon button that can toggle between selected and unselected states. */ export default class LightningButtonIconStateful extends LightningElement { /** Unique name for the button */ name: string; /** Value associated with the button */ value: string; /** Visual style of the button */ variant: "border" | "border-filled" | "border-inverse"; /** The Lightning Design System name of the icon */ iconName: string; /** Size of the button icon */ size: "xx-small" | "x-small" | "small" | "medium"; /** Descriptive text for assistive technologies */ alternativeText: string; /** Specifies whether button is in selected state */ selected: boolean; /** Text to display when the user mouses over the button */ tooltip: string | undefined; /** Sets focus on the button element */ focus(): void; } }