import { Chain } from './interfaces'; import { ChainType, ChainEndpoint } from './models'; /** * Returns an instance of one of the concrete chain classes */ export declare class ChainFactory { create: (chainType: ChainType, endpoints: ChainEndpoint[], settings?: any) => Chain; } declare type Plugin = { new (endpoints: ChainEndpoint[], settings?: any): Chain; chainType: string; }; export declare function PluginChainFactory(plugins: Plugin[], chainType: ChainType, endpoints: ChainEndpoint[], settings?: any): Chain; export {};