import { JSX, JSXElement } from 'solid-js';
import { Atom } from '@cn-ui/use';
interface LabelProps extends JSX.HTMLAttributes<HTMLLabelElement> {
    children?: JSXElement;
    for?: string;
}
export declare const DefaultLabel: import("solid-js").Component<Omit<LabelProps, "style" | "class"> & {
    ref?: HTMLLabelElement | ((el: HTMLLabelElement) => void);
    style?: string | JSX.CSSProperties;
    className?: string | string[] | typeof import("@cn-ui/use").classNames;
    class?: string | string[] | typeof import("@cn-ui/use").classNames;
    classList?: typeof import("@cn-ui/use").classNames | {
        [k: string]: boolean;
    };
}>;
export interface CheckBoxProps extends Omit<FormField, 'onValueInput'> {
    children?: JSXElement;
    /** 如果没有 label 的话，可以使用 extra 进行拓展 */
    extra?: JSXElement;
    value: boolean | Atom<boolean>;
    disabled?: boolean | Atom<boolean>;
    indeterminate?: boolean | Atom<boolean>;
    /** 选中的字符 */
    checkedChar?: string;
    onValueInput?: (e: any, value: boolean) => void | Promise<boolean>;
}
import './style/checkbox.css';
import { FormField } from '../interface';
export declare const CheckBox: import("solid-js").Component<Omit<CheckBoxProps, "style" | "class"> & {
    ref?: HTMLDivElement | ((el: HTMLDivElement) => void);
    style?: string | JSX.CSSProperties;
    className?: string | string[] | typeof import("@cn-ui/use").classNames;
    class?: string | string[] | typeof import("@cn-ui/use").classNames;
    classList?: typeof import("@cn-ui/use").classNames | {
        [k: string]: boolean;
    };
}>;
export {};
