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