import { type ReactNode } from "react"; import { type UiToolbarNamingConfig } from "../UiToolbar/context.js"; import { type UiToolbarSegmentedControlChangeEvent } from "./context.js"; /** * @internal */ export interface IUiToolbarSegmentedControlProps { value: string | undefined; onChange: (value: string, event: UiToolbarSegmentedControlChangeEvent) => void; /** * The group needs an accessible name. */ accessibilityConfig: UiToolbarNamingConfig; isDisabled?: boolean; /** * Two to five {@link UiToolbarButton} or {@link UiToolbarIconButton} items, each with a `value`. */ children: ReactNode; dataTestId?: string; } /** * Mutually exclusive choices rendered as one borderless strip. Arrow keys move the selection and * the focus; the whole group is one tab stop. Standalone the arrows wrap; inside a {@link UiToolbar} * they continue to the neighbouring toolbar item at the ends. * * @example * ``` * * * * * ``` * * @internal */ export declare const UiToolbarSegmentedControl: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=UiToolbarSegmentedControl.d.ts.map