import type { Snippet } from 'svelte'; import type { HTMLAnchorAttributes, HTMLAttributes, HTMLButtonAttributes } from 'svelte/elements'; export interface NavigationRailProps extends HTMLAttributes { element?: HTMLElement; } export type NavigationRailItemElement = HTMLButtonElement | HTMLAnchorElement; export interface NavigationRailItemProps extends HTMLAttributes, Omit | 'type'>, Omit | 'type'> { icon: Snippet; label: string; selected?: boolean; badge?: boolean; badgeLabel?: string | number; badgeAriaLabel?: string; type?: 'submit' | 'reset' | 'button' | (string & {}) | null; element?: NavigationRailItemElement; }