///
///
export interface Dictionary {
[key: string]: T;
}
export declare function streamToBuffer(stream: NodeJS.ReadableStream): Promise;
export declare function sparseStreamToBuffer(stream: NodeJS.ReadableStream): Promise;
export declare function difference(setA: Set, setB: Set): Set;
export declare function asCallback(promise: Promise, callback: (error?: Error | null, value?: T) => void): Promise;
export declare function fromCallback(fn: (callback: (error?: Error | null, result?: T) => void) => void): Promise;
export declare function delay(ms: number): Promise;
export declare function minBy(things: Iterable, iteratee: (thing: T) => number): T | undefined;
export declare function maxBy(things: Iterable, iteratee: (thing: T) => number): T | undefined;
export declare function sumBy(things: Iterable, iteratee: (thing: T) => number): number;
export declare function every(things: Iterable): boolean;
export declare function once(fn: () => T): () => T;