import * as React from "react"; import type { StyleType } from "@khanacademy/wonder-blocks-core"; /** * 🔘 A nicely styled radio button for all your non-AMFM radio button needs. Can * optionally take label and description props. * * This component should not really be used by itself because radio buttons are * often grouped together. See RadioGroup. */ declare const Radio: React.ForwardRefExoticComponent & Readonly<{ role?: import("@khanacademy/wonder-blocks-core").AriaRole; }> & { /** * Whether this component is checked */ checked: boolean; /** * Whether this component is disabled */ disabled?: boolean; /** * Whether this component should show an error state */ error?: boolean; /** * Callback when this component is selected. The newCheckedState is the * new checked state of the component. */ onChange: (newCheckedState: boolean) => unknown; /** * Optional label for the field. */ label?: React.ReactNode; /** * Optional description for the field. */ description?: React.ReactNode; /** * Unique identifier attached to the HTML input element. If used, need to * guarantee that the ID is unique within everything rendered on a page. * Used to match `