interface SizeData { bytes: number; color: `#${string}`; files: number; pretty: string; } interface ResponseV1 { installSize: number; publishSize: number; } interface ResponseV2 { install: SizeData; name: string; publish: SizeData; version: string; } declare function packagephobia(pkg: string, version: 1): Promise; declare function packagephobia(pkg: string, version?: 2): Promise; export { ResponseV1, ResponseV2, SizeData, packagephobia as default };