export interface Minapp { component?: string; compiler?: { px2rpx?: boolean; rpx2px?: boolean; browsers?: string[]; devServer?: { [key: string]: any; }; }; } export interface CompilerOptions { minapp?: Minapp; watch?: boolean; production?: boolean; minimize?: boolean; babelRuntime?: boolean | { [key: string]: any; }; publicPath?: string; staticDir: string; server?: { contentBase: string; host: string; port: string; [key: string]: any; }; } export declare class Compiler { production: boolean; minimize: boolean; srcDir: string; distDir: string; modulesDir: string; options: CompilerOptions; localPkg: any; rootDir: string; constructor(srcDir: string, distDir: string, options?: Partial); private init(options?); build(): void; }