import { z } from 'zod'; /** * A branded YYYY-MM-DD date string that must be converted to a JS Date via * {@link plainDateToLocalDate} rather than `new Date()`. * * `new Date("2021-01-01")` treats the string as UTC midnight, which shifts the * displayed day in timezones behind UTC. Use `plainDateToLocalDate` instead to * get local midnight. */ export declare const PlainDate: z.core.$ZodBranded; export type PlainDate = z.infer; /** * Converts a {@link PlainDate} (YYYY-MM-DD) to a local `Date` at midnight. * * The `Date(year, month, day)` constructor uses the local timezone, unlike * `new Date(dateString)` which interprets bare date strings as UTC midnight. */ export declare function plainDateToLocalDate(date: PlainDate): Date; //# sourceMappingURL=PlainDate.d.ts.map