import { BaseTypeOptions, OptionsInput, TypeInterface, } from '../types/type-definitions.js'; type DateTypeOptions = BaseTypeOptions; export type DateType = TypeInterface<'date', Options>; export function DateType(): DateType; export function DateType>( options?: Options ): DateType; export function DateType(options?: any): any { // TODO: validate options return { type: 'date', config: { nullable: options?.nullable, default: options?.default, }, } satisfies DateType; }