import { type DetailedHTMLProps, type HTMLAttributes, type InputHTMLAttributes, type ReactNode } from 'react';
type CheckboxProps = {
    readonly label: Omit<HTMLAttributes<HTMLLabelElement>, 'id'>;
    readonly checkbox: DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
    readonly helperText?: string;
    readonly error?: string;
};
/**
 * Checkbox component used for rendering a labeled checkbox with optional helper text and error message.
 *
 * @component
 * @example
 * // Example usage of Checkbox component
 * <Checkbox
 *   label={{ children: 'Accept terms and conditions' }}
 *   checkbox={{ checked: true, onChange: () => console.log('Checkbox clicked') }}
 *   helperText="You must accept the terms and conditions"
 *   error="This field is required"
 * />
 *
 * @param {Object} props - The properties of the Checkbox component.
 * @param {Object} props.label - The properties for the label element, excluding the 'id' attribute.
 * @param {Object} props.checkbox - The properties for the checkbox input element.
 * @param {string} [props.helperText] - Optional helper text to be displayed below the checkbox.
 * @param {string} [props.error] - Optional error message to be displayed below the checkbox.
 *
 * @returns {ReactNode} The rendered Checkbox component.
 */
export declare function Checkbox({ label, checkbox, helperText, error, }: CheckboxProps): ReactNode;
export {};
//# sourceMappingURL=Checkbox.d.ts.map