import { isProd } from '../../shared/src/config.ts'; /** * Deep-freezing every value read from / written to the KV store is a * debug-only invariant check — but on a large IDB partition the recursive * freeze inside IDBStore.getAll() (feeding LazyStore.prefetchAll) blocked * the main thread for 4–12s per boot in development * ("[Violation] 'success' handler took 12387ms"). Skip it in dev too; * opt back in with NEXT_PUBLIC_ZERO_DEEP_FREEZE=1 when hunting * accidental-mutation bugs. The frozen-ness asserts are gated identically * so the invariants stay consistent with the (now unfrozen) values. */ declare const skipFreezeUnlessOptedIn: boolean; export { isProd as skipBTreeNodeAsserts, isProd as skipCommitDataAsserts, /** * In debug mode we deeply freeze the values we read out of the IDB store and we * deeply freeze the values we put into the stores. */ skipFreezeUnlessOptedIn as skipFreeze, /** * In debug mode we assert that chunks and BTree data is deeply frozen. In * release mode we skip these asserts. */ skipFreezeUnlessOptedIn as skipFrozenAsserts, isProd as skipGCAsserts, }; //# sourceMappingURL=config.d.ts.map