/** * For loading and accessing stats data from webpack compile */ export declare class WebpackStats { private _stats; constructor(); /** * Load webpack's stats according to `WEBPACK_DEV` env. * * - `WEBPACK_ENV` defined - load from `.etmp` dir * - otherwise - load from `dist/server` dir * * '@remarks' will look for the data under dir by env `XARC_CWD` or `process.cwd()` * */ load(): void; /** names of all chunks * * @returns an array of chuck names of assets */ get allChunkNames(): string[]; /** The raw stats data as loaded * * @returns webpack status object */ get stats(): any; /** * Get the asset filename of a chunk by its name * * @param name - name of chunk * @param ext - extension of the asset to get (`".css"`, `".js"`, etc) * @returns array of strings */ getChunkAssetFilename(name: string, ext: string): any[]; }