import type { View } from 'react-native'; export interface RovingKeyEvent { nativeEvent: { key: string; }; preventDefault: () => void; } export interface RovingRadioGroupOptions { onChange: (value: T) => void; options: readonly T[]; value: T; } export interface RovingRadioProps { onKeyDown: (event: RovingKeyEvent) => void; ref: (node: View | null) => void; tabIndex: 0 | -1; } export interface RovingRadioGroupResult { radioProps: (index: number) => RovingRadioProps; } /** Maps an arrow/Home/End key to the option it should move to, or null to ignore it. */ export declare function nextIndexFor(key: string, index: number, length: number): number | null; /** Gives a radio group one tab stop and arrow-key movement between its options. */ export declare function useRovingRadioGroup({ onChange, options, value, }: RovingRadioGroupOptions): RovingRadioGroupResult; //# sourceMappingURL=use-roving-radio-group.d.ts.map