import { ChainedNamespace } from "src"; import { IntmaxStateStore } from "../store"; export type NamespaceProviderOptions = { namespace: NS | ChainedNamespace; callWallet: (args: { method: string; params?: unknown; chainId?: string }) => Promise; store: IntmaxStateStore; }; //TODO: Redesign export type NamespaceProvider = ( options: NamespaceProviderOptions, ) => Provider;