import * as React from 'react'; import type { DateFieldLikeProps, DateValue } from './shared.js'; import type { ChangeDetails } from '../contracts/components.js'; export interface DateRangeValue { start: DateValue; end: DateValue; } export interface DateRangePreset { label: string; value: DateRangeValue; } export interface DateRangePickerProps extends Omit, 'value' | 'defaultValue' | 'onValueChange'> { /** Controlled value. Pair with `onValueChange`. */ value?: DateRangeValue | null | undefined; /** Initial value when uncontrolled. */ defaultValue?: DateRangeValue | null | undefined; /** Called with the new value whenever it changes. */ onValueChange?: ((v: DateRangeValue | null, details: ChangeDetails) => void) | undefined; /** Preset ranges offered next to the calendar. */ presets?: readonly DateRangePreset[] | undefined; /** Default: 2 at a >=768px container, 1 below. */ visibleMonths?: 1 | 2 | undefined; /** Class name merged onto the root element. */ className?: string | undefined; /** Initial popover state (uncontrolled). */ defaultOpen?: boolean | undefined; /** Overrides for the built-in, localizable UI strings. */ labels?: { choose?: string | undefined; start?: string | undefined; end?: string | undefined; presets?: string | undefined; apply?: string | undefined; cancel?: string | undefined; dialog?: string | undefined; } | undefined; } export declare function DateRangePicker(props: DateRangePickerProps): React.JSX.Element; //# sourceMappingURL=DateRangePicker.d.ts.map