/** * Worker Namespace Shims — helper factories for callable shims, schema shims, * delegating tool wrappers, and `context` proxy fallbacks. */ export declare const DB_TO_JOURNAL: Record; /** * Creates a callable/constructable proxy that resolves all calls and property reads to `shimMj`. */ export declare function createCallableShim(shimMj: Record, fnName?: string): object; /** * Creates the `updateMemory` / `setMemory` / `updateJournal` smart router function. */ export declare function createUpdateMemoryFn(shimMj: Record): (arg: unknown) => unknown; /** * Wraps a top-level delegating function so `.schema()`, `.help()`, and `.describe()` * forward to the underlying method on `shimMj`. */ export declare function wrapDelegatingTool(fn: (...args: unknown[]) => unknown, targetFnGetter: () => unknown): unknown; export declare const schemaHelpFn: () => Promise; /** * Creates the `schema` shim proxy for `shimMj`. */ export declare function createSchemaShim(shimMj: Record): object; /** * Creates an empty iterable/array-like/map-like fallback for missing collection properties on `context`. */ export declare function createEmptyFallback(_name: string): unknown; /** * Builds the frozen `context` global proxy for the sandbox. */ export declare function createContextProxy(contextObj?: Record): Record; //# sourceMappingURL=namespace-shims.d.ts.map