import { DateRangeType } from './date.range'; import { CalendarDateType } from './date.calendar'; /** * ArkType DTO schema that validates a string is a recognized IANA timezone. * * Delegates to {@link isKnownTimezone} for the actual check. * * Intended for validating and parsing DTO/JSON data where timezones arrive as strings. * * @example * ```ts * const result = knownTimezoneType('America/Denver'); * ``` */ export declare const knownTimezoneType: import("arktype/internal/variants/string.ts").StringType; /** * ArkType DTO schema for {@link DateDurationSpan}. * * Accepts both Date objects and date strings (parsed via `string.date.parse`). * Use this schema when validating and converting serialized data (e.g., API responses, JSON payloads) * or runtime Date objects into the corresponding runtime types. */ export declare const dateDurationSpanType: import("arktype/internal/variants/object.ts").ObjectType<{ startsAt: Date | ((In: string) => import("arktype/internal/attributes.ts").To); duration: number; }, {}>; /** * ArkType DTO schema for {@link DateRange}. * * Accepts both Date objects and date strings (parsed via `string.date.parse`). * Use this schema when validating and converting serialized data (e.g., API responses, JSON payloads) * or runtime Date objects into the corresponding runtime types. */ export declare const dateRangeType: import("arktype/internal/variants/object.ts").ObjectType<{ start: Date | ((In: string) => import("arktype/internal/attributes.ts").To); end: Date | ((In: string) => import("arktype/internal/attributes.ts").To); }, {}>; /** * ArkType DTO schema for {@link DateRangeParams}. * * Accepts both Date objects and date strings (parsed via `string.date.parse`). * Use this schema when validating and converting serialized data (e.g., API responses, JSON payloads) * or runtime Date objects into the corresponding runtime types. */ export declare const dateRangeParamsType: import("arktype/internal/variants/object.ts").ObjectType<{ type: DateRangeType; date: Date | ((In: string) => import("arktype/internal/attributes.ts").To); distance?: number | null | undefined; }, {}>; /** * ArkType DTO schema for {@link DateCell}. * * Validates a cell index from JSON/DTO input. * Use this schema when validating and converting serialized data (e.g., API responses, JSON payloads) * into the corresponding runtime types. */ export declare const dateCellType: import("arktype/internal/variants/object.ts").ObjectType<{ i: number; }, {}>; /** * ArkType DTO schema for {@link DateCellRange}. * * Validates cell range indexes from JSON/DTO input. * Use this schema when validating and converting serialized data (e.g., API responses, JSON payloads) * into the corresponding runtime types. */ export declare const dateCellRangeType: import("arktype/internal/variants/object.ts").ObjectType<{ i: number; to?: number | null | undefined; }, {}>; /** * ArkType DTO schema for {@link DateCellTiming}. * * Accepts both Date objects and date strings (parsed via `string.date.parse`). * Use this schema when validating and converting serialized data (e.g., API responses, JSON payloads) * or runtime Date objects into the corresponding runtime types. */ export declare const dateCellTimingType: import("arktype/internal/variants/object.ts").ObjectType<{ startsAt: Date | ((In: string) => import("arktype/internal/attributes.ts").To); duration: number; end: Date | ((In: string) => import("arktype/internal/attributes.ts").To); timezone: string; }, {}>; /** * ArkType DTO schema for {@link CalendarDate}. * * Accepts both Date objects and date strings (parsed via `string.date.parse`). * Use this schema when validating and converting serialized data (e.g., API responses, JSON payloads) * or runtime Date objects into the corresponding runtime types. */ export declare const calendarDateType: import("arktype/internal/variants/object.ts").ObjectType<{ startsAt: Date | ((In: string) => import("arktype/internal/attributes.ts").To); duration: number; type: CalendarDateType; }, {}>; /** * ArkType DTO schema for {@link DateCellSchedule}. * * Validates schedule data from JSON/DTO input. * Use this schema when validating and converting serialized data (e.g., API responses, JSON payloads) * into the corresponding runtime types. */ export declare const dateCellScheduleType: import("arktype/internal/variants/object.ts").ObjectType<{ w: string; d?: number[] | null | undefined; ex?: number[] | null | undefined; }, {}>; /** * ArkType DTO schema for {@link ModelRecurrenceInfo}. * * Accepts both Date objects and date strings (parsed via `string.date.parse`). * Use this schema when validating and converting serialized data (e.g., API responses, JSON payloads) * or runtime Date objects into the corresponding runtime types. */ export declare const modelRecurrenceInfoType: import("arktype/internal/variants/object.ts").ObjectType<{ rrule: string; start: Date | ((In: string) => import("arktype/internal/attributes.ts").To); end: Date | ((In: string) => import("arktype/internal/attributes.ts").To); timezone?: string | null | undefined; forever?: boolean | null | undefined; }, {}>; /** * ArkType DTO schema that validates a value is a valid {@link DateCellTiming}. * * Accepts both Date objects and date strings (parsed via `string.date.parse`), then validates the resulting timing * using {@link isValidDateCellTiming}. */ export declare const validDateCellTimingType: import("arktype/internal/variants/object.ts").ObjectType<{ startsAt: Date | ((In: string) => import("arktype/internal/attributes.ts").To); duration: number; end: Date | ((In: string) => import("arktype/internal/attributes.ts").To); timezone: string; }, {}>; /** * ArkType DTO schema that validates a value is a valid {@link DateCellRange} (non-negative indexes, `to >= i`). * * Validates cell range data from JSON/DTO input. */ export declare const validDateCellRangeType: import("arktype/internal/variants/object.ts").ObjectType<{ i: number; to?: number | null | undefined; }, {}>; /** * ArkType DTO schema that validates a value is a sorted array of non-overlapping {@link DateCellRange} values. * * Validates cell range series data from JSON/DTO input. */ export declare const validDateCellRangeSeriesType: import("arktype/internal/variants/array.ts").ArrayType<{ i: number; to?: number | null | undefined; }[], {}>;