import { Dayjs } from 'dayjs'; import { RJSFSchema, UiSchema } from '@rjsf/utils'; import { SchemaSelections } from '../../components/SchemaSelectionContext'; export declare const DATE_TIME_REENTRY = "Re-enter a valid date and time with a time zone; saved local text is not an instant."; export declare const DATE_TIME_CONSTRAINT = "Select a date allowed by the date and time constraints."; export declare const LOCAL_DATE_TIME_FORMAT = "YYYY-MM-DDTHH:mm:ss.SSS"; /** Read an explicit RFC3339 instant, never infer a zone for saved wall-clock text. */ export declare function parseDateTimeInstant(value: unknown): Dayjs | undefined; /** UTC-mode Dayjs is only a calendar container here: it must never be serialized as an instant. */ export declare function parseLocalDateTime(text: string, formats: unknown): Dayjs | undefined; /** Enumerate real instants whose browser-local calendar tuple equals the requested wall clock. */ export declare function localDateTimeInstants(wall: Dayjs): string[]; /** Scope the UTC contract to DateTime widgets, including RJSF's format-selected default. */ export declare function validateDateTimeValues(data: unknown, errors: unknown, schema: RJSFSchema | boolean, uiSchema?: UiSchema, rootSchema?: RJSFSchema, selections?: SchemaSelections, id?: string, idSeparator?: string): void;