export default function transformDirSizeThreshold(value: DirSizeThresholdOption) {
    if (typeof value === 'number') return value;
    const [operand, factor] = matchDirSizeThreshold(value);
    return getBytesSize(operand, factor);
}