function dateimport { date } from "https://deno.land/x/valibot@v0.5.0/src/schemas/date/index.ts"; date(pipe?: Pipe<Date>): DateSchemaCreates a date schema. date(error?: string, pipe?: Pipe<Date>): DateSchemaCreates a date schema. Creates a date schema. Parametersoptionalpipe: Pipe<Date>A validation and transformation pipe. ReturnsDateSchemaA date schema. Creates a date schema. Parametersoptionalerror: stringThe error message. optionalpipe: Pipe<Date>A validation and transformation pipe. ReturnsDateSchemaA date schema.