import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js"; import "./Icon.js"; /** * @class * ### Overview * The `ui5-input-icon` component represents an interactive icon that can be placed inside an `ui5-input` component. * Unlike the standard `ui5-icon`, this component provides button-like behavior with hover, focus, and active states, * matching the visual style of the input's built-in clear icon. * * ### Usage * Use `ui5-input-icon` for interactive icons that users can click (e.g., search, voice input, camera). * For decorative icons, use the standard `ui5-icon` component instead. * * ### ES6 Module Import * `import "@ui5/webcomponents/dist/InputIcon.js";` * * @constructor * @extends UI5Element * @public * @since 2.25.0 */ declare class InputIcon extends UI5Element { eventDetails: { click: void; }; /** * Defines the icon name to be displayed. * * **Note:** Make sure you import the desired icon before using it. * * @default undefined * @public */ name?: string; /** * Defines the accessible name of the icon. * * **Note:** This property is used for accessibility purposes and will be announced by screen readers. * When set, it is also rendered as a native `title` tooltip, unless `hideTooltip` is set. * * @default undefined * @public */ accessibleName?: string; /** * @private */ _pressed: boolean; /** * @private */ _focused: boolean; _onclick(e: MouseEvent): void; _onmousedown(): void; _onmouseup(): void; _onmouseleave(): void; _onfocus(): void; _onblur(): void; _onkeydown(e: KeyboardEvent): void; _onkeyup(e: KeyboardEvent): void; get effectiveAriaLabel(): string | undefined; get effectiveTitle(): string | undefined; } export default InputIcon;