import * as PB from 'schemata-ts/PatternBuilder'; import { SchemaExt } from 'schemata-ts/SchemaExt'; /** * E.g. 00, 01, 02, 03, 04, 05, 06, 07, ..., 58, 59 * * @since 1.0.0 * @category Pattern */ export declare const minutesSeconds: PB.Pattern; /** * @since 1.0.0 * @category Model */ export declare type DateFromIsoStringParams = { /** * Configuration to require string to include time, time and timezone offset, or neither. * * - `None` => date, or date-string, or date-string and timezone offset are allowed * - `Time` => date-string, or date-string and timezone offset are allowed * - `TimeAndOffset` => date-string and timezone offset are required * * @since 1.0.0 */ readonly requireTime?: 'None' | 'Time' | 'TimeAndOffset'; }; /** * @since 1.0.0 * @category Model */ export declare type DateFromIsoStringS = (params?: DateFromIsoStringParams) => SchemaExt; /** * The Date parser (used in DateFromString) accepts different strings depending on * runtime, and also accepts other formats like `February 29, 2022`. * * `DateFromIsoString` follows a subset of the [ECMAScript 2023 Language Date Time String * Specification](https://tc39.es/ecma262/#sec-date-time-string-format). * * Notable features: * * - Requires padded months, days, hours, minutes, and seconds * - Can be configured to require a time, time and timezone offset (e.g. `Z` or `±05:00`) or * neither (default is require both). * - Dates may contain years, months, and days; years and months; or years * - Times may contain hours, minutes, seconds, and milliseconds; hours, minutes, and * seconds; or hours and minutes. * - Expanded years are permitted (e.g. `+002022` instead of `2022`) * * @since 1.0.0 * @category Schema */ export declare const DateFromIsoString: DateFromIsoStringS; //# sourceMappingURL=DateFromIsoString.d.ts.map