import { SchemaIR } from "../../types.js"; import { ExtractorContext, ZodDef } from "../types.js"; //#region src/core/extract/extractors/catch.d.ts /** * z.catch(): the catch value is computed PER PARSE in Zod — it may be a * function reading the failure ctx ({ value, issues, error, input }) or an * impure factory (() => new Date()). Baking a build-time evaluation would * freeze those, so the compiled validator calls the original schema's * catchValue at runtime through the __rf table (same mechanism as default). */ declare function extractCatch(def: ZodDef, ctx: ExtractorContext): SchemaIR; //#endregion export { extractCatch }; //# sourceMappingURL=catch.d.ts.map