import { NullableRules, UndefinableRules } from "../libs/publicTypes.ts";import { ArraySchema, RulesForArray } from "../schemaClasses/ArraySchema.ts";export function array<T>(options: RulesForArray<T> & NullableRules & UndefinableRules): ArraySchema<T, null | undefined>;export function array<T>(options: RulesForArray<T> & UndefinableRules): ArraySchema<T, undefined>;export function array<T>(rules: RulesForArray<T> & NullableRules): ArraySchema<T, null>;export function array<T>(rules: RulesForArray<T>): ArraySchema<T>;export function array<T>(): ArraySchema<T>;export function array<T>(rules: RulesForArray<T> = {}): ArraySchema<T> { return new ArraySchema<T>(rules);}