import type { Precision } from '../../../core/time/shared.types.js'; import type { DateTimePickerProps } from '../types.js'; /** Provides functions to convert a date object to its parts and vice versa. */ export declare function useDateTimeFormat(type?: DateTimePickerProps['type'], precision?: Precision): { format: import("react-intl").FormatDateOptions; toParts: (date: Date) => Intl.DateTimeFormatPart[]; toDateTime: (parts: Intl.DateTimeFormatPart[]) => Date | null; emptyParts: { type: keyof Intl.DateTimeFormatPartTypesRegistry; value: string; }[]; };