export type { RadioOption as SegmentedOption } from './createRadioGroup.svelte';
/**
* SvSegmented - a segmented control: a compact row of mutually-exclusive
* options in a shared track (the modern alternative to a small radio group or a
* tab strip for a setting). Single-select, keyboard-accessible (it reuses the
* radio-group core: arrow keys roam, Space/Enter select), and themed from the
* shared `--sg-*` tokens.
*
* ```svelte
*
* ```
*/
import type { Snippet } from 'svelte';
import { type RadioOption } from './createRadioGroup.svelte';
import { type SvEditorProps } from './editor-contract';
type SegOption = RadioOption & {
icon?: Snippet;
};
type Props = Pick & {
options: ReadonlyArray;
value?: string | number | null;
onChange?: (value: string | number) => void;
/** Stretch the control (and split options evenly) to the container width. */
block?: boolean;
name?: string;
};
declare const SvSegmented: import("svelte").Component;
type SvSegmented = ReturnType;
export default SvSegmented;