import type { Snippet } from 'svelte'; export interface UserMenuItem { id: string; label: string; description?: string; shortcut?: string; disabled?: boolean; destructive?: boolean; separator?: boolean; } type UserStatus = 'online' | 'offline' | 'busy' | 'away' | null; interface UserMenuProps { name?: string; email?: string; role?: string; plan?: string; src?: string; status?: UserStatus; items?: UserMenuItem[]; size?: 'sm' | 'md' | 'lg'; /** `ghost` for navbars; `outline` for standalone */ variant?: 'ghost' | 'outline'; align?: 'start' | 'end'; /** Open menu above (`top`) or below (`bottom`) the trigger */ side?: 'top' | 'bottom'; showMeta?: boolean; /** Show email/role under the name in the trigger */ showSubtitle?: boolean; showChevron?: boolean; open?: boolean; class?: string; header?: Snippet; onselect?: (id: string, item: UserMenuItem) => void; onopenchange?: (open: boolean) => void; } declare const UserMenu: import("svelte").Component; type UserMenu = ReturnType; export default UserMenu;