/** Resource limits shared by every scripting adapter. */ export interface ScriptingConfig { timeoutMs: number; maxScriptBytes: number; maxCachedScripts: number; maxCacheBytes: number; } /** Limits of the Wasmoon adapter, which also caps Lua state memory. */ export interface WasmoonScriptingConfig extends ScriptingConfig { maxMemoryBytes: number; } export declare const DEFAULTS: Readonly; export declare const INSTRUCTION_CHECK_INTERVAL = 1000; export declare const MAX_REPLY_DEPTH = 128; export declare const MAX_JSON_DEPTH = 1000; export declare const FENGARI_DEFAULTS: Readonly; export declare function scriptingConfig(options: Partial): Readonly; export declare function scriptingConfig(options: Partial, defaults: Readonly): Readonly;