type pluginFunction = (pluginName: string, content: string | null, file: string, config: Record, root: string) => any; export interface IInstallOptions { dev: boolean; peerDependencies?: boolean; } export declare const taroPluginPrefix = "@tarojs/plugin-"; export declare function resolveNpm(pluginName: string, root?: string): Promise; export declare function resolveNpmSync(pluginName: string, root?: string): string; export declare function installNpmPkg(pkgList: string[] | string, options: IInstallOptions): any; export declare const callPlugin: pluginFunction; export declare const callPluginSync: pluginFunction; export declare function getNpmPkgSync(npmName: string, root: string): any; export declare function getNpmPkg(npmName: string, root: string): Promise; export {};