import React, { InputHTMLAttributes } from 'react';
import { NormalTypes } from '../utils/prop-types';
export type CheckboxTypes = NormalTypes;
export interface CheckboxEventTarget {
    checked: boolean;
}
export interface CheckboxEvent extends InputHTMLAttributes<any> {
    target: CheckboxEventTarget;
    stopPropagation: () => void;
    preventDefault: () => void;
    nativeEvent: React.ChangeEvent;
}
interface Props {
    checked?: boolean;
    disabled?: boolean;
    type?: CheckboxTypes;
    initialChecked?: boolean;
    onChange?: (e: CheckboxEvent) => void;
    className?: string;
    block?: boolean;
    value?: string;
}
type NativeAttrs = Omit<React.InputHTMLAttributes<any>, keyof Props>;
export type CheckboxProps = Props & NativeAttrs;
declare const Checkbox: React.ForwardRefExoticComponent<Props & NativeAttrs & {
    width?: string | number;
    height?: string | number;
    padding?: string | number;
    margin?: string | number;
    w?: string | number;
    h?: string | number;
    paddingLeft?: string | number;
    paddingRight?: string | number;
    paddingTop?: string | number;
    paddingBottom?: string | number;
    pl?: string | number;
    pr?: string | number;
    pt?: string | number;
    pb?: string | number;
    marginLeft?: string | number;
    marginRight?: string | number;
    marginTop?: string | number;
    marginBottom?: string | number;
    ml?: string | number;
    mr?: string | number;
    mt?: string | number;
    mb?: string | number;
    px?: string | number;
    py?: string | number;
    mx?: string | number;
    my?: string | number;
    font?: string | number;
    unit?: string;
    scale?: number;
    children?: any;
    className?: string;
} & React.InputHTMLAttributes<any> & React.RefAttributes<unknown>>;
export default Checkbox;
