import { z } from "zod"; /** * Validates if a string is a valid date in any of the supported formats * Supported formats: * - YYYY-MM-DD (2024-03-18) * - DD-MM-YYYY (18-03-2024) * - YYYY/MM/DD (2024/03/18) * - DD/MM/YYYY (18/03/2024) */ export declare const dateValidator: z.ZodEffects; /** * Normalizes any supported date format to YYYY-MM-DD for database queries */ export declare const normalizeDate: (dateStr: string) => string; /** * Creates a date schema that can be required or optional */ export declare const createDateSchema: (required?: boolean) => z.ZodEffects | z.ZodOptional>; /** * Date range schema for filtering between two dates */ export declare const dateRangeSchema: z.ZodEffects>; toDate: z.ZodOptional>; }, "strip", z.ZodTypeAny, { fromDate?: string | undefined; toDate?: string | undefined; }, { fromDate?: string | undefined; toDate?: string | undefined; }>, { fromDate?: string | undefined; toDate?: string | undefined; }, { fromDate?: string | undefined; toDate?: string | undefined; }>; export declare const yyyyMmDdSchema: z.ZodString; export declare const ddMmYyyySchema: z.ZodString;