import { IMaterialItem, IWebRuntimeAppData } from '@cloudbase/lowcode-generator/lib/weapps-core';
export declare function handleNPM({ mainAppData, subAppDataList, dependencies, appKey, appBuildDir, mode, devTool, ignoreInstall, }: {
    appKey: string;
    appBuildDir: string;
    mode: string;
    mainAppData: IWebRuntimeAppData;
    subAppDataList: IWebRuntimeAppData[];
    dependencies: IMaterialItem[];
    devTool: string;
    ignoreInstall?: boolean;
}): Promise<void>;
export declare function generatePackageJSON(dependencies: object | undefined, appBuildDir: string, appKey: string, mode: string, devTool: string): Promise<boolean>;
