import { type ReactNode } from 'react'; import { type ToggleButtonGroupProps as RACToggleButtonGroupProps } from 'react-aria-components'; import { type StackProps } from '../spacing/stack/stack.js'; import type { CommonProps, FieldProps, Key } from '../types.js'; export interface ToggleButtonGroupProps extends Omit, FieldProps>, Pick { /** Toggle buttons belonging to the group. Each button must have a `value` prop defined. */ children: ReactNode; /** Whether the current selection is invalid. */ isInvalid?: boolean; /** Whether a selection is required before form submission. */ isRequired?: boolean; /** Whether the toggle buttons should wrap to the next line when they don't fit in the available space. */ wrap?: StackProps['wrap']; } /** * Allows users to toggle multiple options, with single or multiple selection. * * See [toggle button usage guidelines](https://ui.cimpress.io/components/toggle-button/). */ declare const _ToggleButtonGroup: (props: ToggleButtonGroupProps & import("react").RefAttributes & import("../../with-style-props.js").StyleProps) => import("react").JSX.Element | null; export { _ToggleButtonGroup as ToggleButtonGroup }; //# sourceMappingURL=toggle-button-group.d.ts.map