import type { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from 'react'; import type { Direction, FormControlProps, ValueStateProps } from '../../utils/primitiveProps.js'; import type { SxProp } from '../Layout/sx.js'; interface RadioGroupProps extends Omit, 'onChange' | 'defaultValue' | 'dir'>, ValueStateProps, FormControlProps { /** Reading direction. */ dir?: Direction; /** Allow arrow-key navigation to wrap around. Default: true. */ loop?: boolean; } interface RadioItemProps extends Omit, 'value' | 'type'> { /** Value this item submits when selected. */ value: string; /** Disables just this option. */ disabled?: boolean; /** Marks the option required for form validation. */ required?: boolean; } export interface RadioGroupRootProps extends RadioGroupProps { /** Stack direction. Default: `'column'`. */ orientation?: 'horizontal' | 'vertical'; /** One-off CSS, same as `Box`'s `sx` (scalar or responsive `{ base, sm, md, lg, xl }` map). */ sx?: SxProp; } export declare const RadioGroup: import("react").ForwardRefExoticComponent>; export interface RadioProps extends Omit { children?: ReactNode; /** * One-off CSS, same as `Box`'s `sx`: each value may be a scalar or a * responsive breakpoint map (`{ base, sm, md, lg, xl }`). Scalar-only sx * merges into inline style; responsive sx injects a scoped class. Applied to * the outer label wrapper, or the radio itself when there is no label. */ sx?: SxProp; } export declare const Radio: import("react").ForwardRefExoticComponent>; export {};