import { clsx, type ClassValue } from 'clsx'; import { twMerge } from 'tailwind-merge'; import type { Snippet } from 'svelte'; export function cn(...inputs: ClassValue[]) { return twMerge(clsx(...inputs)); } export type WithoutChild = Omit; export type WithoutChildrenOrChild = Omit; export type WithElementRef = T & { ref?: Element | null };