/** * Hand FrontMCP an optional package (`@frontmcp/observability`, `@frontmcp/storage-sqlite`) that the * bundle already contains. On Cloudflare Workers `require()` cannot reach bundled * modules, so the worker entry registers them here (#768). Kept on * `globalThis` so a second copy of a FrontMCP package in the same bundle sees it too. */ export declare function registerOptionalModule(moduleName: string, moduleExports: unknown): void; /** * Return a module registered with {@link registerOptionalModule}, or run * `load` — pass a literal `() => require('pkg')` so bundlers still see it. */ export declare function requireOptionalModule(moduleName: string, load: () => T): T;