import { CheckboxProps, FormControlLabelProps } from "../../components"; import { ReactNode, RefAttributes } from 'react'; import { Control, FieldError, FieldPath, FieldValues, PathValue, UseControllerProps } from 'react-hook-form'; export type CheckboxButtonGroupProps = FieldPath, TValue = unknown> = { options: (TValue | unknown)[]; helperText?: ReactNode; name: TName; required?: boolean; parseError?: (error: FieldError) => ReactNode; label?: string; labelKey?: string; valueKey?: string; onChange?: (data: TValue[]) => void; returnObject?: boolean; disabled?: boolean; row?: boolean; control?: Control; rules?: UseControllerProps['rules']; checkboxColor?: CheckboxProps['color']; labelProps?: Omit; transform?: { input?: (value: PathValue) => TValue[]; output?: (value: TValue[]) => PathValue; }; defaultValue?: TValue[]; }; type CheckboxButtonGroupComponent = = FieldPath, TValue = unknown>(props: CheckboxButtonGroupProps & RefAttributes) => JSX.Element; declare const _default: CheckboxButtonGroupComponent; export default _default;