import type { Component } from 'svelte'; export interface SegmentItem { id: string; label: string; disabled?: boolean; icon?: Component<{ class?: string; size?: number | string; strokeWidth?: number | string; }>; } interface SegmentedControlProps { items?: SegmentItem[]; value?: string; size?: 'sm' | 'md' | 'lg'; fullWidth?: boolean; class?: string; onchange?: (id: string) => void; } declare const SegmentedControl: Component; type SegmentedControl = ReturnType; export default SegmentedControl;