import type { IPluginContext } from '@tarojs/service';
export declare function execCommand(params: {
    command: string;
    args: string[];
    cwd: string;
}): Promise<unknown>;
export declare function readPkgJson(ctx: IPluginContext): any;
export declare function mergePkgJson(pkgJson: PackageJson, patch: PackageJson): void;
export declare function removeIncompatiblePkg(pkgJson: PackageJson, pkgs: string[]): void;
export declare function installDeps(ctx: IPluginContext): Promise<unknown>;
export declare function getCompilerType(compilerConfig: IPluginContext['initialConfig']['compiler']): "webpack5" | undefined;
export declare function updatePkgJson(ctx: IPluginContext, patch: PackageJson): Promise<void>;
