import type { FactoryPayload } from '../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/lib' import type { EmotionSx } from '@mantine/emotion' import type { EmotionStyles } from '../emotion/index.cjs' import type { ShadingColor } from '../theme/colors.cjs' import type { Color } from '../theme/theme.cjs' declare module '../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/lib' { interface MantineThemeColorsOverride { colors: Record } interface StylesApiPropsOverride { styles?: EmotionStyles } interface BoxProps { sx?: EmotionSx } } declare module '@mantine/core' { interface MantineThemeColorsOverride { colors: Record } interface StylesApiPropsOverride { styles?: EmotionStyles } interface BoxProps { sx?: EmotionSx } } import { MouseEventHandler } from 'react'; import { DatePickerProps } from '../../primitive/index.cjs'; import { AbsoluteTimeRange, TimeRangeValue } from './helpers.cjs'; interface AbsoluteTimeRangePickerProps { value?: TimeRangeValue; minDateTime?: Date; maxDateTime?: Date; maxDuration?: number; onChange?: (v: AbsoluteTimeRange) => void; onCancel?: () => void; onReturnClick?: MouseEventHandler; dateInputFormat?: (date: Date) => string; datePickerProps?: DatePickerProps<'range'>; localization?: Localization; } export interface Localization { entry?: string; back?: string; start?: string; end?: string; apply?: string; cancel?: string; errors?: { startAfterEnd?: string; beyondMin?: (min: Date) => string; beyondMax?: (max: Date) => string; beyondDuration?: (duration: number) => string; }; } declare const AbsoluteTimeRangePicker: ({ value, maxDateTime, minDateTime, maxDuration, onChange, onCancel, onReturnClick, dateInputFormat, datePickerProps, localization }: AbsoluteTimeRangePickerProps) => import("react/jsx-runtime.js").JSX.Element; export default AbsoluteTimeRangePicker;