import React from 'react'; import { ErrorType, OptionType } from './data'; export interface ICheckboxProps extends Omit, 'name' | 'onChange' | 'size'> { name?: string; description?: React.ReactNode; error?: string | ErrorType; setValue?: any; options?: string[] | OptionType[]; onChange?: (value: string[] | undefined) => void; indeterminate?: boolean; vertical?: boolean; cRef?: React.Ref; type?: 'text' | 'icon'; size?: 'small' | 'medium'; } export interface CheckboxRef { checkAll: (reset?: boolean) => void; changeValue: (values: string[]) => void; checkValue: (values: string[]) => void; } declare const Checkbox: React.ForwardRefExoticComponent>; export default Checkbox;