/** * The PlugIn interface declares the high-level interface to create a plugin for ChainJs */ import { ChainState } from './chainState'; export declare enum PluginType { MultiSig = "multisig" } export declare type ChainJsPluginOptions = any; export declare class ChainJsPlugin { /** Plugin name */ name: string; /** Plugin type */ type: PluginType; /** Plugin options */ protected _options: ChainJsPluginOptions; protected _isInitialized: boolean; /** Chainstate - will be set automatically when plugin installed - do not set this */ chainState: ChainState; /** Initializes plugin using options * If a plugin doesnt need to be inited, then hardcode protected _isInitialized = true */ init(options?: ChainJsPluginOptions): void; get isInitialized(): boolean; }