import React from "react";
type Props = React.ComponentPropsWithRef<"input"> & {
/**
* The visual label next to the radio indicator.
*/
children?: React.ReactNode;
/**
* Additional classes to apply to the radio input HTML element.
*/
inputClassName?: string;
/**
* Making `name` required, since it's essential to make the radios
* work together in a group. Normally you would put the value of
* the selection here.
*
* @example "notification-method"
*
* ```tsx
*
*
*
*
* ```
*/
name: string;
/**
* Making `id` required, since it's important for accessibility.
*/
id: string;
/**
* The visual label next to the radio indicator.
* Alternative to `children` for when it's easier to just pass
* a string as a prop. Will be rendered inside a `` component.
*/
label?: React.ReactNode;
/**
* Any additional information to show underneath the label.
*/
helperText?: React.ReactNode;
/**
* An error message that should be shown when there's something wrong
* with the user's input.
*/
errorText?: React.ReactNode;
};
/**
* @example
* ```tsx
*
*
*
*
* ```
*/
export declare const LabeledRadio: React.ForwardRefExoticComponent & React.RefAttributes>;
export {};