import { LitElement } from 'lit'; import '../../reusable/iconSelector'; /** * Workspace Switcher Menu Item component. * Used for both workspace items (left panel) and account items (right panel). * Item rows support these trailing-action combinations: * - favorite only * - launch indicator only * - launch indicator plus favorite * The launch indicator is part of the primary row button while the favorite * control stays pinned to the far right as a separate action. * @fires on-click - Emits when the item is clicked. `detail: { value: string }` * @fires on-favorite-change - Emits when favorite status changes. `detail: { value: string, favorited: boolean }` */ export declare class WorkspaceSwitcherMenuItem extends LitElement { static styles: import("lit").CSSResult; /** The variant of the menu item. */ accessor variant: 'workspace' | 'item' | 'back'; /** The unique value/id of the item. */ accessor value: string; /** The display name of the item. */ accessor name: string; /** * Optional full name for the native tooltip when `name` is abbreviated in the DOM. * Defaults to `name`. */ accessor nameTitle: string; /** The count to display (workspace variant only). */ accessor count: number | null; /** Whether the item is selected. */ accessor selected: boolean; /** Whether the item is favorited (item variant only). */ accessor favorited: boolean; /** Whether to show the launch/new-tab indicator (item variant only). */ accessor showLaunchIndicator: boolean; /** Text string customization. */ accessor textStrings: { launchAssistiveText: string; }; /** Merged text strings. * @internal */ accessor _textStrings: { launchAssistiveText: string; }; /** Whether to show the favorite icon selector (item variant only). When present, it stays right-aligned. */ accessor showFavorite: boolean; render(): import("lit-html").TemplateResult<1>; private _renderWorkspaceContent; private _renderLaunchIndicator; private _renderLaunchAssistiveText; willUpdate(changedProperties: Map): void; private _renderItemContent; private _handleClick; private _handleFavoriteChange; } declare global { interface HTMLElementTagNameMap { 'kyn-workspace-switcher-menu-item': WorkspaceSwitcherMenuItem; } } //# sourceMappingURL=workspaceSwitcherMenuItem.d.ts.map