import React, { ButtonHTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes } from "react"; import { IconBaseProps } from "react-icons"; export type CheckboxProps = Omit, "onChange"> & { inputProps?: Omit, "type">; disabled?: boolean; labelProps?: LabelHTMLAttributes; checked?: boolean; onChange?: (to: boolean) => void; label?: string; labelPosition?: "left" | "right"; iconProps?: IconBaseProps; buttonProps?: ButtonHTMLAttributes; }; export default function Checkbox({ inputProps, labelProps, disabled, label, checked, labelPosition, onChange, iconProps, buttonProps, ...props }: CheckboxProps): React.JSX.Element;