import * as React from 'react'; import { BoxProps } from '../Box'; import { FieldWrapperProps } from '../FieldWrapper'; import { SetProps } from '../Set'; import { CheckboxProps } from './Checkbox'; export declare type LocalCheckboxGroupProps = { /** Default value(s) of the checkbox group */ defaultValue?: Array; /** Disables the checkbox group */ disabled?: boolean; name: string; /** Checkbox group options */ options: Array; /** Are the checkbox inputs layed out horizontally or vertically? */ orientation?: 'vertical' | 'horizontal'; spacing?: SetProps['spacing']; /** State of the checkbox group. Can be any color in the palette. */ state?: string; /** Controlled value of the checkbox 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 CheckboxGroupProps = Omit & LocalCheckboxGroupProps; export declare const CheckboxGroup: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; }; export declare type LocalCheckboxGroupFieldProps = { /** Additional props for the CheckboxGroup component */ checkboxGroupProps?: CheckboxGroupProps; }; export declare type CheckboxGroupFieldProps = BoxProps & FieldWrapperProps & CheckboxGroupProps & LocalCheckboxGroupFieldProps; export declare const CheckboxGroupField: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; };