interface Instanceimport { type Instance } from "https://deno.land/x/smoldot@light-js-deno-v0.7.9/instance/instance.d.ts"; Propertiesrequest: (request: string, chainId: number) => voidnextJsonRpcResponse: (chainId: number) => Promise<string>addChain: (chainSpec: string,databaseContent: string,potentialRelayChains: number[],disableJsonRpc: boolean,) => Promise<{ success: true; chainId: number; } | { success: false; error: string; }>removeChain: (chainId: number) => voidstartShutdown: () => void