import React, { ReactElement } from 'react'; import '../../styles/base.module.css'; import { Tooltip, TooltipProps } from '../tooltip'; import { AllElementPropsWithRef, MergeAndOverrideProps } from '../../utils/elementTypings'; export type CheckboxProps = MergeAndOverrideProps, { /** * Additional class names to apply to the checkbox */ className?: string; /** * The error text content that will be shown below the checkbox */ errorText?: string; /** * The helper text content that will be shown below the checkbox */ helperText?: string; /** * The id of the input element */ id: string; /** * Boolean indicating indeterminate status of the checkbox */ indeterminate?: boolean; /** * The label for the checkbox */ label?: string | React.ReactNode; /** * Override or extend the styles applied to the component */ style?: React.CSSProperties; /** * Tooltip component */ tooltip?: ReactElement; }>; export declare const Checkbox: ({ checked, className, disabled, errorText, helperText, id, indeterminate, label, onChange, style, value, tooltip, ref, ...rest }: CheckboxProps) => React.JSX.Element;