import { FilePlugin } from './Plugin.interfaces'; /** * Wrapper function. Runs all plugins in a wrapper, so we can do a try-catch, and do tme measurements. * @param type * @param name * @param plugin * @param args */ export declare function wrap(type: string, name: string | symbol, plugin: (...args: any[]) => any | FilePlugin, args: any): Promise;