import type { FormatValuesArgs } from '../dataFormatters/common'; export declare const sizes: { readonly b: { readonly value: 1; readonly label: string; }; readonly kb: { readonly value: 1000; readonly label: string; }; readonly mb: { readonly value: 1000000; readonly label: string; }; readonly gb: { readonly value: 1000000000; readonly label: string; }; readonly tb: { readonly value: 1000000000000; readonly label: string; }; readonly pb: { readonly value: 1000000000000000; readonly label: string; }; }; export type BytesSizes = keyof typeof sizes; export declare const bytesSizes: BytesSizes[]; export declare const getBytesSizeUnit: (value: number) => "b" | "kb" | "mb" | "gb" | "tb" | "pb"; export declare const formatBytes: ({ value, size, withSpeedLabel, withSizeLabel, delimiter, ...params }: FormatValuesArgs & { fixedDecimalPlaces?: number; }) => string; export declare const convertToBytes: (value: number, unit: BytesSizes) => number;