import React from 'react'; import type { ChangeEvent } from 'react'; interface Labels { helpTextFor?: string; } /** * 3.0.0: Replaces previous type MdCheckboxGroupOptionProps. */ export interface MdCheckboxGroupOption { value: string; text?: string; disabled?: boolean; } export interface MdCheckboxGroupProps { options?: MdCheckboxGroupOption[]; selectedOptions?: MdCheckboxGroupOption[]; label?: string; labels?: Labels; id?: string; disabled?: boolean; direction?: 'horizontal' | 'vertical' | 'grid'; columns?: number; className?: string; error?: boolean; /** * v6.0.0: Added `errorText` prop to display error messages, this is now required to set error state. */ errorText?: string; helpText?: string; onChange?(_e: ChangeEvent): void; onBlur?(_e: React.FocusEvent): void; onFocus?(_e: React.FocusEvent): void; } export declare const MdCheckboxGroup: React.FunctionComponent; export default MdCheckboxGroup;