/** * Convert rem units to pixels according to the root font size. * @param rem The value in rem units (string with 'rem' suffix or number). * @returns The equivalent value in pixels. */ export declare function remToPx(rem: string | number): number; /** * Convert bytes to megabytes with specified decimal precision. * @param bytes The value in bytes to convert. * @param decimals The number of decimal places to round to (default is 2). * @returns The equivalent value in megabytes, rounded to the specified decimals. * @example * bytesToMegabytes(5123456) // returns 4.89 * bytesToMegabytes(500000) // returns 0.48 * bytesToMegabytes(1024 * 1024) // returns 1 * bytesToMegabytes(5123456, 3) // returns 4.894 */ export declare function bytesToMegabytes(bytes: number, decimals?: number): number;