import { CheckboxProps } from '@cloudscape-design/components'; import { Control, FieldPathByValue, FieldPathValue, FieldValues, RegisterOptions } from 'react-hook-form'; export interface CCheckboxProps = FieldPathByValue> extends Omit { name: TName; control?: Control; defaultValue?: FieldPathValue; rules?: Omit, "valueAsNumber" | "valueAsDate" | "setValueAs" | "disabled">; shouldUnregister?: boolean; } declare const CCheckbox: = FieldPathByValue>({ name, control, defaultValue, rules, shouldUnregister, onChange, onBlur, disabled, ...props }: CCheckboxProps) => import('react').JSX.Element; export default CCheckbox;