UNPKG

@visulima/fs

Version:

Human friendly file system utilities for Node.js

13 lines (10 loc) 781 B
import { Readable } from 'node:stream'; import { URL } from 'node:url'; import { ZlibOptions, BrotliOptions } from 'node:zlib'; declare const gzipSize: (input: Buffer | Readable | URL | string, options?: ZlibOptions) => Promise<number>; declare const brotliSize: (input: Buffer | Readable | URL | string, options?: BrotliOptions) => Promise<number>; declare const rawSize: (input: Buffer | Readable | URL | string) => Promise<number>; declare const gzipSizeSync: (input: Buffer | URL | string, options?: ZlibOptions) => number; declare const brotliSizeSync: (input: Buffer | URL | string, options?: BrotliOptions) => number; declare const rawSizeSync: (input: Buffer | URL | string) => number; export { brotliSize, brotliSizeSync, gzipSize, gzipSizeSync, rawSize, rawSizeSync };