import * as React from 'react'; import type { LucideIcon } from 'lucide-react'; export interface SegmentedControlItem { value: T; label: string; icon?: LucideIcon; /** Hide the text and keep it as the accessible name (icon-only segment). */ iconOnly?: boolean; disabled?: boolean; } export interface SegmentedControlProps extends Omit, 'onChange' | 'defaultValue'> { items: ReadonlyArray>; value: T; onValueChange: (value: T) => void; /** Accessible name of the group, e.g. «Vista». */ 'aria-label': string; size?: 'sm' | 'default'; } /** * Exclusive choice between a few views or modes (list/kanban, día/semana). A * `radiogroup` of buttons: arrow keys move and select, Home/End jump, only the * selected segment is in the tab order. Selected state is shown by fill AND * `aria-checked`, never by color alone. Theme tokens only. */ export declare function SegmentedControl({ items, value, onValueChange, size, className, ...props }: SegmentedControlProps): React.JSX.Element; //# sourceMappingURL=segmented-control.d.ts.map