/** * Parts of the code are inspired from the `import-cost` project * @see https://github.com/wix/import-cost/blob/master/packages/import-cost/src/webpack.js */ import type { GetPackageStatsOptions } from './common.types.js'; export default function getPackageStats(packageString: string, options?: GetPackageStatsOptions): Promise<{ assets: Array<{ name: string; type: string; size: number; gzip: number; }>; dependencySizes?: Array<{ name: string; approximateSize: number; }>; ignoredMissingDependencies?: Array; dependencyCount: number; hasJSNext: any; hasJSModule: any; isModuleType: boolean; hasSideEffects: any; peerDependencies: string[]; size: number; gzip: number; }>; //# sourceMappingURL=getPackageStats.d.ts.map