import type { PropsWithChildren } from 'react';
import React from 'react';
import type { PickClassStyleType, ReactPropsBase, SchemaClassName } from 'jamis-core';
interface CheckboxProps extends PropsWithChildren, ReactPropsBase, PickClassStyleType {
    type?: 'checkbox' | 'radio';
    size?: 'sm' | 'lg' | 'small' | 'large';
    label?: string | JSX.Element;
    labelClassName?: SchemaClassName;
    className?: SchemaClassName;
    iconClassName?: SchemaClassName;
    value?: boolean | string | number;
    inline?: boolean;
    trueValue?: boolean | string | number;
    falseValue?: boolean | string | number;
    disabled?: boolean;
    readOnly?: boolean;
    checked?: boolean;
    name?: string;
    description?: string;
    descClassName?: SchemaClassName;
    partial?: boolean;
    optionType?: 'default' | 'button';
    /** 在数组中的索引位置, 用在Checkboxes */
    index?: number;
    /** 整个数组的长度, 用在Checkboxes */
    length?: number;
    onClick?: (ev: React.MouseEvent<HTMLLabelElement>) => void;
    onChange?: (value: any, shift: boolean) => void;
}
export declare const Checkbox: React.FC<CheckboxProps>;
export {};
