import * as React from 'react'; declare type CheckboxValue = string | number; export interface CheckboxProps { checked?: boolean; value?: CheckboxValue; extra?: React.ReactNode; style?: React.CSSProperties; children?: React.ReactNode; onChange?: (checked: any, e?: any, v?: CheckboxValue) => void; onGroupChange?: (v: CheckboxValue[], e?: any) => void; } declare const Checkbox: { (props: CheckboxProps): JSX.Element; Group(props: GroupProps): JSX.Element; }; export interface GroupProps { value?: CheckboxValue[]; children?: React.ReactNode; direction?: string; onChange?: (v: CheckboxValue[]) => void; } export default Checkbox;