import ListItemBase from "@ui5/webcomponents/dist/ListItemBase.js"; /** * @class * * ### Overview * * A `ui5-search-item` is a list item, used for displaying search suggestions * * ### ES6 Module Import * * `import "@ui5/webcomponents-fiori/dist/SearchItem.js";` * * @constructor * @extends ListItemBase * @public * @since 2.9.0 * @experimental */ declare class SearchItem extends ListItemBase { eventDetails: ListItemBase["eventDetails"] & { "delete": void; }; /** * Defines the heading text of the search item. * @default undefined * @public */ text?: string; /** * Defines the description that appears right under the item text, if available. * @default undefined * @public * @since 2.12.0 */ description?: string; /** * Defines the icon name of the search item. * **Note:** If provided, the image slot will be ignored. * @default undefined * @public */ icon?: string; /** * Defines whether the search item is selected. * @default false * @public */ selected: boolean; /** * Defines the scope of the search item * @default undefined * @public */ scopeName?: string; highlightText: string; /** * **Note:** While the slot allows the option of setting a custom avatar, to comply with the * design guidelines, use the `ui5-avatar` with size - XS. * * @public * @since 2.12.0 */ image: Array; _markupText: string; _onfocusin(e: FocusEvent): void; _onfocusout(): void; _onDeleteButtonClick(): void; onBeforeRendering(): void; } export default SearchItem;