import { type ComponentPropsWithoutRef, type ReactNode } from 'react'; import * as RadixRadioGroup from '@radix-ui/react-radio-group'; import { type VariantProps } from 'class-variance-authority'; declare const radioVariants: (props?: ({ size?: "sm" | "md" | "lg" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; /** * One segment of a `variant="segmented"` group. `interactive: false` is the * same box without states, used by the group's hidden measuring row so the * measured width always matches the live segment. */ export declare const radioSegmentVariants: (props?: ({ interactive?: boolean | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; /** Icon plus visible label of a segment. Collapsed, the label stays in the * DOM but visually hidden; a segment without an icon never collapses. */ export declare function RadioSegmentFace({ icon, text, collapsed, }: { icon?: ReactNode; text: string; collapsed: boolean; }): import("react/jsx-runtime").JSX.Element; type RadixItemProps = ComponentPropsWithoutRef; export interface RadioProps extends Omit, VariantProps { /** Visible label; in a segmented group, the accessible name and the * collapsed tooltip. */ label: string; size?: 'sm' | 'md' | 'lg'; disabledReason?: string; description?: string; /** Segmented group only: decorative icon shown before the label, and * alone once the group collapses. */ icon?: ReactNode; /** Segmented group only: shorter visible text. `label` stays the * accessible name and must contain it (WCAG 2.5.3). */ shortLabel?: string; } export declare const Radio: import("react").ForwardRefExoticComponent>; export {}; //# sourceMappingURL=radio.d.ts.map