/** * User Menu * * Dropdown menu showing user avatar, name, and actions. * Provides logout functionality and navigation to account settings. * * Canon: The menu recedes; only the user remains visible. */ import type { User } from '../types.js'; interface Props { /** Current user */ user: User; /** Called when logout is clicked */ onLogout: () => void; /** Link to account settings */ settingsHref?: string; /** Custom avatar URL (overrides gravatar) */ avatarUrl?: string; /** User's display name */ name?: string; } declare const UserMenu: import("svelte").Component; type UserMenu = ReturnType; export default UserMenu;