export interface DeepFreezeOptions { /** * Top-level keys whose *values* are left unfrozen (the key itself still * becomes read-only as part of the frozen root). Used by `createMachine` * to keep the initial `context` object mutable, like XState. */ except?: readonly PropertyKey[]; } /** * Freezes plain objects and arrays recursively, in place. Functions, class * instances, `Map`/`Set` and other exotic objects are left untouched (freezing * them would not make their contents immutable anyway and may break them). * Cycles are tolerated. */ export declare function deepFreeze(value: T, options?: DeepFreezeOptions): T;