/** Estimated download times over representative mobile connections. */ export interface ConnectionProfile { label: string; /** Effective throughput in bytes per second. */ bytesPerSecond: number; } /** * Speeds mirror the profiles Bundlephobia displays. Values are the effective * download throughput (not the advertised link rate). * - Slow 3G: ~400 Kbps => 50 KB/s * - Emerging 4G: ~7 Mbps => 875 KB/s */ export declare const CONNECTION_PROFILES: ConnectionProfile[]; /** Format a duration in seconds into a compact string (`120 ms`, `1.4 s`). */ export declare function formatDuration(seconds: number): string; export interface DownloadEstimate { label: string; seconds: number; formatted: string; } /** Compute download-time estimates for the given (gzipped) byte count. */ export declare function downloadEstimates(bytes: number): DownloadEstimate[]; //# sourceMappingURL=time.d.ts.map