import { IMaterialItem, 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({ weapps, projDir, appId, domain, materials, plugins, isProduction, deployMode, extraData, isMixMode, options, buildTypeList, isBrowserMpBuilder, }: {
    weapps: IWeAppData[];
    projDir: string;
    appId: string;
    domain: string;
    materials: IMaterialItem[];
    plugins: IPlugin[];
    isProduction: boolean;
    deployMode: DEPLOY_MODE;
    extraData: any;
    isMixMode: boolean;
    options: {
        resourceAppId?: string;
        isCrossAccount: boolean;
    };
    buildTypeList: BuildType[];
    isBrowserMpBuilder: boolean;
}): Promise<{
    miniprogramRoot: string;
}>;
export declare function writeLowCodeFiles(appData: IWeAppData, outDir: string, ctx: IBuildContext): Promise<void>;
export declare function handleUsedComponents({ buildContext, weapps, materials, }: {
    buildContext: IBuildContext;
    weapps: IWeAppData[];
    materials: IMaterialItem[];
}): {
    appUsedComps: IAppUsedComp[];
    allAppUsedComps: IUsedComps;
};
