/** Human-readable byte formatting and parsing utilities. */ /** * Format a byte count into a compact human string, e.g. `72.3 KB`. * Uses base-1024 (KiB) which matches Bundlephobia's own display. */ export declare function formatBytes(bytes: number, fractionDigits?: number): string; /** * Parse a human size string into bytes. Accepts `500kb`, `1.5 MB`, `2048`, * `120 KiB`, etc. Returns `undefined` when the input can't be parsed. */ export declare function parseBytes(input: string): number | undefined; /** Format a signed delta, e.g. `+12.4 KB` / `-3.1 KB`. */ export declare function formatDelta(bytes: number): string; //# sourceMappingURL=bytes.d.ts.map