/// <reference types="react" resolution-mode="require"/>
interface RadioFieldProps<Value extends string> {
    name: string;
    value: Value;
    onChange: (value: Value) => void;
    options: Array<RadioOption<Value>>;
}
interface RadioOption<Value> {
    label: string;
    value: Value;
}
type RadioFieldContext<Value extends string> = Omit<RadioFieldProps<Value>, 'options'> | null;
export declare function RadioField<Value extends string>({ value, onChange, name, options, }: RadioFieldProps<Value>): JSX.Element;
export declare function useRadioField<Value extends string>(): NonNullable<RadioFieldContext<Value>>;
export {};
