import type { Snippet } from 'svelte'; import type { ParamsType, TransitionFunc } from '../types'; import type { HTMLAttributes, HTMLAnchorAttributes } from 'svelte/elements'; interface DropdownProps extends HTMLAttributes { children: Snippet; dropdownStatus: boolean; closeDropdown?: () => void; divClass?: string; footerClass?: string; headerClass?: string; ulClass?: string; backdropClass?: string; params?: ParamsType; transition?: TransitionFunc; activeUrl?: string; class?: string; } interface DropdownDividerProps extends HTMLAttributes { class?: string; } interface DropdownHeaderProps extends HTMLAttributes { children: Snippet; class?: string; } interface DropdownFooterProps extends HTMLAttributes { children: Snippet; class?: string; } interface DropdownLiProps extends HTMLAnchorAttributes { children: Snippet; aClass?: string; href?: string; activeClass?: string; liClass?: string; } interface DropdownUlProps extends HTMLAttributes { children: Snippet; class?: string; } export { type DropdownProps, type DropdownDividerProps, type DropdownLiProps, type DropdownUlProps, type DropdownHeaderProps, type DropdownFooterProps };