import { Extractor } from "../types.js"; //#region src/core/extract/extractors/readonly.d.ts /** * z.readonly() freezes the parse OUTPUT in Zod. * * Over a primitive that freeze is unobservable, so the wrapper compiles away * entirely and a single readonly field stops forcing its whole enclosing object * onto the eager walk. * * Over a container it is very much observable, and compiled validators return * the caller's input as-is for every container except a stripping object — so * emitting Object.freeze would freeze the caller's own data, a side effect Zod * avoids by freezing the object it rebuilt. Those keep delegating to Zod, which * rebuilds and freezes its own output. */ declare const extractReadonly: Extractor; //#endregion export { extractReadonly }; //# sourceMappingURL=readonly.d.ts.map