import { BsDate, CalendarAdapter, CalendarMode, PickerLocale, ValueFormat } from '../types.js'; export declare function formatDateValue(date: Date, adapter: CalendarAdapter, options?: { mode?: CalendarMode; format?: string; locale?: PickerLocale; }): string; export declare function parseDateValue(value: Date | string | number | null | undefined): Date | null; export declare function formatRange(start: Date, end: Date, adapter: CalendarAdapter, options?: { mode?: CalendarMode; format?: string; separator?: string; locale?: PickerLocale; }): string; /** Resolve the machine ("server") value for one date, independent of the * display calendar/format. Defaults to AD ISO. Built from local `ad` * components (no `toISOString()` → no timezone shift). */ export declare function formatMachineValue(parts: { ad: Date; bs: BsDate; time?: { hour: number; minute: number; second?: number; }; }, format: ValueFormat, adapter: CalendarAdapter, withTime?: boolean): string | number | Date; /** Coerce a machine value into a string for a DOM/form field (Date → AD ISO). */ export declare function stringifyMachineValue(value: string | number | Date): string;