export type ModuleFingerprint = { /** sha256 of the module's generated code (computed at compile time, before * the registration statement itself is appended). */ hash: string; }; /** Called from generated code as the module's last statement. */ export declare function registerModuleFingerprint(moduleId: string, hash: string): void; export declare function getModuleFingerprint(moduleId: string): ModuleFingerprint | undefined; /** Test-only: clear the registry between cases. */ export declare function __resetModuleFingerprintRegistry(): void;