import * as React from 'react'; import * as PropTypes from 'prop-types'; import { CheckboxGroupProps, CheckboxGroupState, CheckboxOptionType } from './PropsType'; import { ConfigConsumerProps } from '../config-provider'; declare class CheckboxGroup extends React.Component { static defaultProps: { options: never[]; }; static propTypes: { defaultValue: PropTypes.Requireable; value: PropTypes.Requireable; options: PropTypes.Validator; onChange: PropTypes.Requireable<(...args: any[]) => any>; }; static childContextTypes: { checkboxGroup: PropTypes.Requireable; }; static getDerivedStateFromProps(nextProps: CheckboxGroupProps): { value: any; } | null; constructor(props: CheckboxGroupProps); getChildContext(): { checkboxGroup: { toggleOption: (option: CheckboxOptionType) => void; value: (string | number | boolean)[]; disabled: boolean | undefined; name: string | undefined; registerValue: (value: string) => void; cancelValue: (value: string) => void; }; }; shouldComponentUpdate(nextProps: CheckboxGroupProps, nextState: CheckboxGroupState): boolean; registerValue: (value: string) => void; cancelValue: (value: string) => void; getOptions(): CheckboxOptionType[]; toggleOption: (option: CheckboxOptionType) => void; renderGroup: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; } export default CheckboxGroup;