import type { FormValue } from "./value.js"; /** * A date time form value. */ export interface FormDateTime extends FormValue { type: "date-time"; /** * Whether this date time is optional, i.e. allows `undefined` values. */ isOptional: TOptional; /** * Make this date time optional, i.e. allow `undefined` values. */ optional(): FormDateTime; /** * Set the minimum value of this date time. */ min(value: Date): FormDateTime; /** * Set the maximum value of this date time. */ max(value: Date): FormDateTime; } /** * Create a new date time form value. */ export declare function dateTime(): FormDateTime; //# sourceMappingURL=date-time.d.ts.map