import { IWeAppCode, ICompositedComponent } from '@cloudbase/lowcode-generator/lib/weapps-core';
import { IBuildContext } from './BuildContext';
export declare function writeCode2file(ctx: IBuildContext, mod: IWeAppCode, lowcodeRootDir: string, opts?: {
    pageId?: string;
    appDir?: string;
    comp?: ICompositedComponent;
}, themeCode?: ''): Promise<void>;
export declare function handle$page(code: string): string;
export declare function handle$comp(code: string): string;
