export default function calculateMemory(value: unknown, unit?: 'B' | 'KB' | 'MB'): string;