import React from 'react';
import { FieldError } from 'react-hook-form';

interface Option {
    value: string;
    label: string | React.ReactNode;
}
interface RadioCardsProps {
    name: string;
    onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
    value?: string | null;
    options: Option[];
    label?: string | React.ReactNode;
    inputClassName?: string;
    cardClassName?: string;
    labelClassName?: string;
    optionLabelClassName?: string;
    direction?: 'row' | 'column';
    errorClassName?: string;
    disabled?: boolean;
    hideInput?: boolean;
    error?: boolean | string | {
        message?: string;
    } | null | undefined | FieldError;
}
declare const RadioCards: React.ForwardRefExoticComponent<RadioCardsProps & React.RefAttributes<HTMLInputElement>>;

export { type RadioCardsProps, RadioCards as default };
