declare const workerPool: any; declare const getIDEMessage: any; declare const path: any; declare const createPacker: any; declare let globalConfig: any; declare let projectPacker: any; declare const CWD: string; interface IStats { file: string; message: string; compilerPath: any; line: number; column: number; moduleName: string; moduleIdentifier: string; } declare function uniqStatsList(stats: IStats[]): IStats[]; declare const scriptRegWithLineCol: RegExp; declare const jsScriptReg: RegExp; declare const babelLoaderReg: RegExp; declare const swcLoaderReg: RegExp; declare const startLine: RegExp; declare const babelSyntaxError: RegExp; declare const swcSyntaxError: RegExp; declare const at: RegExp; declare const MAGICLINE = "\n--xhs--next--line--\n"; declare function formatOutputError(err: any, stats: any): any; declare function sendMessage(data: any): void; declare function sendBuildInfoMessage(type: any, message: any): void; declare function createProjectPacker(data: any): any; declare const handlers: { runWatch: (data: any) => Promise; changeCompileOptions(data: any): void; activatePkgs: (data: any) => Promise; runBuild: (data: any) => Promise; runTask: (data?: any) => Promise; close(): void; };