import type { StateStackJSON } from "./state/stateStack.js"; import { type ModuleFingerprint } from "./moduleFingerprintRegistry.js"; /** Collect the fingerprint of every module that has a live frame on the * stack (nested branch stacks included). Frames with no claimed module * (bootstrap frames, runtime builtins like runPrompt) are skipped. */ export declare function collectModuleFingerprints(stackJson: StateStackJSON): Record; /** Throw if any stored module fingerprint no longer matches the loaded code. * Runs on resume BEFORE any state is restored. A module missing from the * registry counts as changed. */ export declare function assertCodeUnchanged(moduleFingerprints: Record | undefined): void;