import { ForwardedRef, FunctionComponent, HTMLAttributes, ReactElement } from "react"; import { InputAttributes } from "../../hooks/value"; import { InputHook } from "../../utils/input"; export declare const checkBoxCn: string; export declare type CheckBoxHook = InputHook; export declare type CheckBoxAttributes = Omit, "onClick"> & InputAttributes & { ref?: ForwardedRef; $hook?: CheckBoxHook; $checkedValue?: T; $uncheckedValue?: T; }; interface CheckBoxFC extends FunctionComponent { (attrs: CheckBoxAttributes, ref?: ForwardedRef): ReactElement>; } declare const CheckBox: CheckBoxFC; export declare const useCheckBox: () => { focus: () => void; getValue: () => T; setValue: (value: T) => void; }; export declare const CheckButtonStyle: JSX.Element; export default CheckBox;