import { Options } from "pretty-bytes"; /** * Reexport of pretty-bytes Options type, as to not expose the pretty-bytes * dependency to the outside world. */ export type ByteQuantityFormattingOptions = Options; /** * Represents a quantity of bytes. Provides methods for parsing, formatting and * manipulating byte quantities. */ export default class ByteQuantity { readonly bytes: number; static flag: import("@oclif/core/interfaces").FlagDefinition; private constructor(); static fromBytes(bytes: number): ByteQuantity; static fromString(input: string, requireQuantity?: boolean): ByteQuantity; format(opts?: ByteQuantityFormattingOptions): string; toString(): string; add(other: ByteQuantity): ByteQuantity; }