/*! * devextreme-react * Version: 25.2.7 * Build date: Tue May 05 2026 * * Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/DevExtreme */ import * as React from "react"; import { Ref, ReactElement } from "react"; import dxRadioGroup, { Properties } from "devextreme/ui/radio_group"; import { IHtmlOptions, NestedComponentMeta } from "./core/component"; import type { ContentReadyEvent, DisposingEvent, InitializedEvent, ValueChangedEvent } from "devextreme/ui/radio_group"; import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base"; import type { template } from "devextreme/common"; type ReplaceFieldTypes = { [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P]; }; type IRadioGroupOptionsNarrowedEvents = { onContentReady?: ((e: ContentReadyEvent) => void); onDisposing?: ((e: DisposingEvent) => void); onInitialized?: ((e: InitializedEvent) => void); onValueChanged?: ((e: ValueChangedEvent) => void); }; type IRadioGroupOptions = React.PropsWithChildren & IHtmlOptions & { itemRender?: (...params: any) => React.ReactNode; itemComponent?: React.ComponentType; defaultValue?: any; onValueChange?: (value: any) => void; }>; interface RadioGroupRef { instance: () => dxRadioGroup; } declare const RadioGroup: (props: React.PropsWithChildren & { ref?: Ref; }) => ReactElement | null; type IItemProps = React.PropsWithChildren<{ disabled?: boolean; html?: string; template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template; text?: string; visible?: boolean; render?: (...params: any) => React.ReactNode; component?: React.ComponentType; }>; declare const Item: ((props: IItemProps) => React.FunctionComponentElement string | any) | undefined; text?: string | undefined; visible?: boolean | undefined; render?: ((...params: any) => React.ReactNode) | undefined; component?: React.ComponentType | undefined; } & { children?: React.ReactNode; } & { elementDescriptor: import("./core/configuration/react/element").IElementDescriptor; }>>) & NestedComponentMeta; export default RadioGroup; export { RadioGroup, IRadioGroupOptions, RadioGroupRef, Item, IItemProps }; import type * as RadioGroupTypes from 'devextreme/ui/radio_group_types'; export { RadioGroupTypes };