/** * UserMenu - User profile menu dropdown * refactored for Material 3 * * Accessibility (WAI-ARIA menu-button pattern): * - Proper ARIA attributes for menu state * - Roving tabindex over the menu items * - Arrow Up/Down, Home/End to move between items; Escape closes + refocuses * the trigger; Tab closes; click-outside dismisses * - Focus management (first item focused on open, trigger refocused on close) */ import type { Profile } from '@happyvertical/smrt-profiles'; /** Props for the UserMenu component */ export interface Props { /** Full SMRT profile object */ profile?: Profile; /** Simple user object (used when profile is not available) */ user?: { name: string; email?: string; }; /** URL for sign out */ signoutUrl?: string; /** URL for profile page */ profileUrl?: string; /** URL for settings page */ settingsUrl?: string; /** Accessible label for the menu button */ 'aria-label'?: string; } declare const UserMenu: import("svelte").Component; type UserMenu = ReturnType; export default UserMenu; //# sourceMappingURL=UserMenu.svelte.d.ts.map