/*! * 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 dxRangeSlider, { Properties } from "devextreme/ui/range_slider"; import { IHtmlOptions, NestedComponentMeta } from "./core/component"; import type { ContentReadyEvent, DisposingEvent, InitializedEvent, ValueChangedEvent } from "devextreme/ui/range_slider"; import type { Format as CommonFormat, VerticalEdge, TooltipShowMode } from "devextreme/common"; import type { Format as LocalizationFormat } from "devextreme/common/core/localization"; type ReplaceFieldTypes = { [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P]; }; type IRangeSliderOptionsNarrowedEvents = { onContentReady?: ((e: ContentReadyEvent) => void); onDisposing?: ((e: DisposingEvent) => void); onInitialized?: ((e: InitializedEvent) => void); onValueChanged?: ((e: ValueChangedEvent) => void); }; type IRangeSliderOptions = React.PropsWithChildren & IHtmlOptions & { defaultValue?: Array; onValueChange?: (value: Array) => void; }>; interface RangeSliderRef { instance: () => dxRangeSlider; } declare const RangeSlider: (props: React.PropsWithChildren & { ref?: Ref; }) => ReactElement | null; type IFormatProps = React.PropsWithChildren<{ currency?: string; formatter?: ((value: number | Date) => string); parser?: ((value: string) => number | Date); precision?: number; type?: CommonFormat | string; useCurrencyAccountingStyle?: boolean; }>; declare const Format: ((props: IFormatProps) => React.FunctionComponentElement string) | undefined; parser?: ((value: string) => number | Date) | undefined; precision?: number | undefined; type?: string | undefined; useCurrencyAccountingStyle?: boolean | undefined; } & { children?: React.ReactNode; } & { elementDescriptor: import("./core/configuration/react/element").IElementDescriptor; }>>) & NestedComponentMeta; type ILabelProps = React.PropsWithChildren<{ format?: LocalizationFormat; position?: VerticalEdge; visible?: boolean; }>; declare const Label: ((props: ILabelProps) => React.FunctionComponentElement>) & NestedComponentMeta; type ITooltipProps = React.PropsWithChildren<{ enabled?: boolean; format?: LocalizationFormat; position?: VerticalEdge; showMode?: TooltipShowMode; }>; declare const Tooltip: ((props: ITooltipProps) => React.FunctionComponentElement>) & NestedComponentMeta; export default RangeSlider; export { RangeSlider, IRangeSliderOptions, RangeSliderRef, Format, IFormatProps, Label, ILabelProps, Tooltip, ITooltipProps }; import type * as RangeSliderTypes from 'devextreme/ui/range_slider_types'; export { RangeSliderTypes };