@visulima/api-platform
Version:
Visulima API platform is a set of tools to build and consume web APIs
31 lines (25 loc) • 1.07 kB
text/typescript
import { ZodType, ZodTypeDef, ParseInput, ParseReturnType } from 'zod';
declare const zodDateInKind = "ZodDateIn";
interface ZodDateInDef extends ZodTypeDef {
typeName: typeof zodDateInKind;
}
declare class ZodDateIn extends ZodType<Date, ZodDateInDef, string> {
static create: () => ZodDateIn;
_parse(input: ParseInput): ParseReturnType<Date>;
}
declare const zodDateOutKind = "ZodDateOut";
interface ZodDateOutDef extends ZodTypeDef {
typeName: typeof zodDateOutKind;
}
declare class ZodDateOut extends ZodType<string, ZodDateOutDef, Date> {
static create: () => ZodDateOut;
_parse(input: ParseInput): ParseReturnType<string>;
}
declare const dateIn: (...parameters: Parameters<typeof ZodDateIn.create>) => ZodDateIn;
declare const dateOut: (...parameters: Parameters<typeof ZodDateOut.create>) => ZodDateOut;
declare const index_dateIn: typeof dateIn;
declare const index_dateOut: typeof dateOut;
declare namespace index {
export { index_dateIn as dateIn, index_dateOut as dateOut };
}
export { dateOut as a, dateIn as d, index as i };