import { ReactElement, Ref, RefAttributes } from "react"; import { AriaCheckboxProps } from "@react-types/checkbox"; import { HoverEvents, Validation, DOMProps } from "@react-types/shared"; import { ForwardedRefComponent } from "../../types/components"; export interface CustomComponentProps extends Validation, HoverEvents { isHovered?: boolean; isFocusVisible?: boolean; isDisabled?: boolean; isSelected?: boolean; } export declare type CheckboxElementType = HTMLInputElement; export declare type CheckboxRef = Ref; export declare type CheckboxWrapperComponentProps = CustomComponentProps; export declare type CheckboxInputComponentProps = CustomComponentProps; export interface CheckboxProps extends DOMProps, AriaCheckboxProps, RefAttributes { label?: string; wrapperComponent?: ReactElement; inputComponent?: ReactElement; className?: string; errorMessage?: string; } declare const Checkbox: ForwardedRefComponent; export { Checkbox };