import * as React from 'react'; import type { BaseUIComponentProps } from '../utils/types.js'; import { useToggleGroup } from './useToggleGroup.js'; /** * Provides a shared state to a series of toggle buttons. * * Documentation: [Base UI Toggle Group](https://base-ui.com/react/components/toggle-group) */ declare const ToggleGroup: React.ForwardRefExoticComponent>; export { ToggleGroup }; export type ToggleGroupOrientation = 'horizontal' | 'vertical'; declare namespace ToggleGroup { interface State { /** * Whether the component should ignore user interaction. */ disabled: boolean; multiple: boolean; } interface Props extends Partial, Omit, 'defaultValue'> { /** * Whether the component should ignore user interaction. * @default false */ disabled?: boolean; /** * @default 'horizontal' */ orientation?: ToggleGroupOrientation; /** * Whether to loop keyboard focus back to the first item * when the end of the list is reached while using the arrow keys. * @default true */ loop?: boolean; } }