import type { DeepReadonly } from './deep-readonly'; /** * Recursively freezes an object and all of its properties. This prevents the * object from being modified at runtime. When the JS runtime is running in * strict mode, any attempts to modify a frozen object will throw an error. * * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze * @param obj The object to freeze. */ export declare function deepFreeze(obj: T): DeepReadonly;