import type { Component } from 'svelte'; export interface ChipBarItem { id: string; label: string; count?: number; disabled?: boolean; /** Optional Lucide (or any) icon component */ icon?: Component; } export type ChipBarSize = 'sm' | 'md'; export type ChipBarVariant = 'soft' | 'solid' | 'outline'; interface ChipBarProps { items?: ChipBarItem[]; value?: string; multi?: boolean; values?: string[]; size?: ChipBarSize; variant?: ChipBarVariant; /** Fade edges only when content overflows / is scrolled */ fade?: boolean; ariaLabel?: string; class?: string; onchange?: (id: string) => void; onchangeMulti?: (ids: string[]) => void; } declare const ChipBar: Component; type ChipBar = ReturnType; export default ChipBar;