import type { JSValueHandle, QuickJS } from "quickjs-wasi"; import type { NotebookHook } from "../code-mode/types.ts"; export declare const JS_SUPPORT_SOURCE: string; export declare class JsSupport { readonly token: number; private readonly vm; constructor(vm: QuickJS, token?: number); call(name: string, ...args: JSValueHandle[]): JSValueHandle; identity(value: JSValueHandle, suppliedId?: string): string; isExtensible(value: JSValueHandle): boolean; register(name: string, event: NotebookHook | false, fn: JSValueHandle): void; }