import { ObjectIR, SchemaIR } from "../../types.js"; import { FastGen, SlowGen } from "../context.js"; //#region src/core/codegen/schemas/object.d.ts /** * The shape entries whose schemas actually RUN. `$ZodObject` skips a declared * `__proto__` key in its shape loop (`if (key === "__proto__") continue`), so * that property is never validated and never written to the output — it is * only a recognized name for the strict/catchall passes, which read * `Object.keys(ir.properties)` directly. Writing it would be worse than * pointless: `{__proto__: v}` in an object literal, and `o["__proto__"] = v` * on a plain object, both SET THE PROTOTYPE rather than define a key. */ declare function parsedProperties(ir: ObjectIR): [string, SchemaIR][]; declare function slowObject(ir: SchemaIR & { type: "object"; }, g: SlowGen): string; declare function fastObject(ir: ObjectIR, g: FastGen): string | null; //#endregion export { fastObject, parsedProperties, slowObject }; //# sourceMappingURL=object.d.ts.map