import type { pluginUtils } from '@verdaccio/core'; export type PluginType = T extends pluginUtils.Plugin ? T : never; export declare function isValid(plugin: PluginType): boolean; export declare function isES6(plugin: PluginType): boolean; /** * Requires a module. * @param {*} path the module's path * @return {Object} */ export declare function tryLoad(path: string, onError: any): PluginType | null;