import React from "react"; import { Checkbox as PrimitiveCheckbox } from "src/primitives/Checkbox"; import { FieldLabel } from "src/primitives/Field"; export interface CheckboxProps extends React.ComponentProps { /** Text displayed next to the checkbox. */ label?: string; /** Error message displayed below the checkbox. */ error?: string; /** Helper text displayed below the label. Accepts string or ReactNode. */ helpText?: React.ReactNode; /** Shows a required indicator next to the label. */ required?: boolean; /** Additional class name for the outermost wrapper. */ className?: string; /** Props forwarded to the Label element. */ labelProps?: React.ComponentProps; } declare const Checkbox: React.ForwardRefExoticComponent & React.RefAttributes>; export { Checkbox };