import { type Brand, type NonEmptyString } from 'ts-type-forge'; import { type Type, type TypeOf } from '../../../type.mjs'; export type Iso8601 = Brand; /** * @link https://github.com/validatorjs/validator.js/tree/v13.1.17?tab=readme-ov-file#validators * @link https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString * @link https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-date-time-string-format */ export declare const iso8601: (options?: ISO8601ValidatorOption) => Type; declare const ISO8601ValidatorOption: Readonly<{ typeName: string; defaultValue: Readonly<{ defaultValue: string; strict: boolean; strictSeparator: boolean; }>; is: (a: unknown) => a is Readonly<{ defaultValue: string; strict: boolean; strictSeparator: boolean; }>; assertIs: (a: unknown) => asserts a is Readonly<{ defaultValue: string; strict: boolean; strictSeparator: boolean; }>; cast: (a: unknown) => Readonly<{ defaultValue: string; strict: boolean; strictSeparator: boolean; }>; fill: (a: unknown) => Readonly<{ defaultValue: string; strict: boolean; strictSeparator: boolean; }>; prune: >(a: B) => Readonly<{ defaultValue: string; strict: boolean; strictSeparator: boolean; }>; validate: (a: unknown) => import("ts-data-forge").Result, readonly Readonly<{ path: readonly string[]; actualValue: unknown; expectedType: string; typeName: string; details?: import("../../../entry-point.mjs").ValidationErrorDetails | undefined; }>[]>; optional?: true; }>; type ISO8601ValidatorOption = TypeOf; export {}; //# sourceMappingURL=iso-8601.d.mts.map