import * as React from 'react'; import { BoxProps } from '../Box'; import { FieldWrapperProps } from '../FieldWrapper'; import { SetProps } from '../Set'; import { SwitchProps } from './Switch'; export declare type LocalSwitchGroupProps = { /** Default value(s) of the switch group */ defaultValue?: Array; /** Disables the switch group */ disabled?: boolean; /** Are the switch inputs layed out horizontally? */ orientation?: 'vertical' | 'horizontal'; name: string; /** Switch group options */ options: Array; spacing?: SetProps['spacing']; /** State of the switch group. Can be any color in the palette. */ state?: string; /** Controlled value of the switch group */ value?: Array; /** Function to invoke when checkbox group has changed */ onChange?: (value: Array, targetValue: string) => void; /** Function to invoke when checkbox group has blurred */ onBlur?: (value: Array) => void; }; export declare type SwitchGroupProps = Omit & LocalSwitchGroupProps; export declare const SwitchGroup: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; }; export declare type LocalSwitchGroupFieldProps = { /** Additional props for the SwitchGroup component */ switchGroupProps?: SwitchGroupProps; }; export declare type SwitchGroupFieldProps = BoxProps & FieldWrapperProps & SwitchGroupProps & LocalSwitchGroupFieldProps; export declare const SwitchGroupField: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; };