'use strict';

var core = require('../core/core.js');
var schemas = require('../core/schemas.js');
require('../core/registries.js');
var api = require('../core/api.js');
var schemas$1 = require('./schemas.js');

const ZodISODateTime = /*@__PURE__*/ core.$constructor("ZodISODateTime", (inst, def) => {
    schemas.$ZodISODateTime.init(inst, def);
    schemas$1.ZodStringFormat.init(inst, def);
});
function datetime(params) {
    return api._isoDateTime(ZodISODateTime, params);
}
const ZodISODate = /*@__PURE__*/ core.$constructor("ZodISODate", (inst, def) => {
    schemas.$ZodISODate.init(inst, def);
    schemas$1.ZodStringFormat.init(inst, def);
});
function date(params) {
    return api._isoDate(ZodISODate, params);
}
const ZodISOTime = /*@__PURE__*/ core.$constructor("ZodISOTime", (inst, def) => {
    schemas.$ZodISOTime.init(inst, def);
    schemas$1.ZodStringFormat.init(inst, def);
});
function time(params) {
    return api._isoTime(ZodISOTime, params);
}
const ZodISODuration = /*@__PURE__*/ core.$constructor("ZodISODuration", (inst, def) => {
    schemas.$ZodISODuration.init(inst, def);
    schemas$1.ZodStringFormat.init(inst, def);
});
function duration(params) {
    return api._isoDuration(ZodISODuration, params);
}

exports.ZodISODate = ZodISODate;
exports.ZodISODateTime = ZodISODateTime;
exports.ZodISODuration = ZodISODuration;
exports.ZodISOTime = ZodISOTime;
exports.date = date;
exports.datetime = datetime;
exports.duration = duration;
exports.time = time;
