UNPKG

stellar-plus

Version:

beta version of stellar-plus, an all-in-one sdk for the Stellar blockchain

11 lines (10 loc) 562 B
import { GenericPlugin } from '../conveyor-belts/types'; export declare const filterPluginsByType: <PluginType extends { type?: string; }, BeltType>(plugins: PluginType[], typeFilter: BeltType) => PluginType[]; export declare const filterPluginsByTypes: <PluginType extends { type: string | GenericPlugin; }, BeltType>(plugins: PluginType[], typesFilter: BeltType[], invertResult?: boolean) => PluginType[]; export declare const filterPluginsByName: <PluginType extends { name?: string; }>(plugins: PluginType[], nameFilter: string) => PluginType[];