import { IWeAppData, IPlugin } from '@cloudbase/lowcode-generator/lib/weapps-core';
import { IBuildContext } from './BuildContext';
import { DEPLOY_MODE } from '../../types';
import { BuildType, IAppUsedComp, IUsedComps } from '../types/common';
export declare function generateWxMp({ buildContext, weapps, plugins, deployMode, options, buildTypeList, ignoreInstall, }: {
    buildContext: IBuildContext;
    weapps: IWeAppData[];
    plugins: IPlugin[];
    deployMode: DEPLOY_MODE;
    options: {
        mpAppId: string;
        resourceAppId?: string;
        isCrossAccount: boolean;
    };
    buildTypeList: BuildType[];
    ignoreInstall: boolean;
}): Promise<{
    miniprogramRoot: string;
}>;
export declare function writeLowCodeFiles(ctx: IBuildContext, appData: IWeAppData, outDir: string): Promise<void>;
/**
 * TODO: 与 cals 里的实现进行整合
 * 关键点在于 appUsedComps 分组， 与 generic componen 的实现
 */
export declare function handleUsedComponents({ buildContext, weapps }: {
    buildContext: IBuildContext;
    weapps: IWeAppData[];
}): {
    appUsedComps: IAppUsedComp[];
    allAppUsedComps: IUsedComps;
};
