import { TUnitInput, TConvertOptions } from '../../localTypes/factories/converterBytes';
/**
 * Convert bytes -> target unit.
 * @returns number by default (e.g., 1.5), or "1.50 GiB" if format=true
 */
export declare const convertBytes: (bytes: number, unit: TUnitInput, opts?: TConvertOptions) => number | string;
/**
 * Optional helper: auto-scale bytes to the "best" unit in SI or IEC.
 * standard: "si" (powers of 1000) or "iec" (powers of 1024). Default "si".
 */
export declare const formatBytesAuto: (bytes: number, options?: {
    standard?: 'si' | 'iec';
    precision?: number;
    locale?: string;
    showUnit?: boolean;
}) => string;
/** Internal helper: convert value in given unit -> bytes (number) */
export declare const toBytes: (value: number, from: TUnitInput) => number;
/**
 * Generic helper: convert value in some unit -> target unit.
 * Uses bytes as intermediate.
 */
export declare const convertStorage: (value: number, from: TUnitInput, to: TUnitInput, opts?: TConvertOptions) => number | string;
/**
 * Try to parse a string like:
 *   "12312312Ki"
 *   "  12.5 GiB"
 *   "  12,5 GiB"
 *   "1,234.56 MB"
 *   "1.234,56 MB"
 *   "1000"        (no unit -> unit undefined)
 */
export declare const parseValueWithUnit: (input: string) => {
    value: number;
    unit?: TUnitInput | undefined;
} | null;
