/**
 * @file Checkbox
 * @author fex
 */
import React from 'react';
import { ClassNamesFn } from '../theme';
interface CheckboxProps {
    type: 'checkbox' | 'radio';
    size?: 'sm' | 'lg' | 'small' | 'large';
    label?: string;
    labelClassName?: string;
    className?: string;
    onChange?: (value: any) => void;
    value?: any;
    inline?: boolean;
    trueValue?: any;
    falseValue?: any;
    disabled?: boolean;
    readOnly?: boolean;
    checked?: boolean;
    name?: string;
    description?: string;
    classPrefix: string;
    classnames: ClassNamesFn;
    partial?: boolean;
}
export declare class Checkbox extends React.Component<CheckboxProps, any> {
    static defaultProps: Pick<CheckboxProps, 'trueValue' | 'falseValue' | 'type'>;
    handleCheck(e: React.ChangeEvent<any>): void;
    render(): JSX.Element;
}
declare const _default: React.ComponentClass<Pick<Pick<CheckboxProps, "disabled" | "label" | "size" | "inline" | "name" | "value" | "className" | "classPrefix" | "classnames" | "description" | "checked" | "readOnly" | "onChange" | "labelClassName" | "partial"> & Partial<Pick<CheckboxProps, "type" | "trueValue" | "falseValue">> & Partial<Pick<Pick<CheckboxProps, "type" | "trueValue" | "falseValue">, never>>, "disabled" | "label" | "size" | "inline" | "type" | "name" | "value" | "className" | "description" | "checked" | "readOnly" | "onChange" | "trueValue" | "falseValue" | "labelClassName" | "partial"> & {
    theme?: string | undefined;
    classPrefix?: string | undefined;
    classnames?: ClassNamesFn | undefined;
}, any> & {
    ComposedComponent: typeof Checkbox;
};
export default _default;
