import * as React from 'react';
export interface AbstractCheckboxProps<T> {
    /** 自定义样式前缀 */
    prefixCls?: string;
    /** 自定义class */
    className?: string;
    /** 初始是否选中 */
    defaultChecked?: boolean;
    /** 指定当前是否选中 */
    checked?: boolean;
    /** 自定义样式 */
    style?: React.CSSProperties;
    /** 失效状态 */
    disabled?: boolean;
    name?: string;
    /** 变化时回调函数 */
    onChange?: (e: T) => void;
    value?: any;
    /** 自动获取焦点 */
    autoFocus?: boolean;
    onMouseEnter?: React.MouseEventHandler;
    onMouseLeave?: React.MouseEventHandler;
    skipGroup?: boolean;
    children?: React.ReactNode;
}
export interface CheckboxChangeEventTarget extends CheckboxProps {
    /** 指定当前是否选中 */
    checked: boolean;
}
export interface CheckboxChangeEvent {
    target: CheckboxChangeEventTarget;
    stopPropagation: () => void;
    preventDefault: () => void;
    nativeEvent: MouseEvent;
}
export interface CheckboxProps extends AbstractCheckboxProps<CheckboxChangeEvent> {
    /** 设置 indeterminate 状态，只负责样式控制 */
    indeterminate?: boolean;
}
declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<unknown>>;
export default Checkbox;
