import type { StringTimeOffset } from './types.js'; import { type TimeValue, type TimeframeV2 } from '../../../core/types/time.js'; import { CalendarState } from '../../calendar/types/shared-types.js'; /** * Sanitizes TimeframeV2 to have a from date that comes before the to date and ensures the times are applied properly. * @internal */ export declare function _sortTimeframeV2Values(value: Partial, min?: string, max?: string, precision?: 'minutes' | 'seconds' | 'milliseconds'): { from: TimeValue | undefined; to: TimeValue | undefined; }; /** * Gets the dayPeriod values such as AM/PM, a.m./p.m. etc. depending on the user's region. * @internal */ export declare const getDayPeriodValues: () => string[]; /** * Converts a given Date or ISO string to the TimeValue structure for the calendar value. * @internal */ export declare const _getTimeValueFromSimpleValue: (candidate?: string | Date | null, timeOffset?: StringTimeOffset, position?: CalendarState["position"], isExpression?: boolean, min?: string, max?: string, precision?: "minutes" | "seconds" | "milliseconds") => TimeValue | undefined;