///
import pump from 'pump';
import { MediaType } from './mediaType';
export declare function generateID(): string;
export declare function sanitizeFilename(filename: string): string;
export declare function computeMD5Hash(str: string): string;
export declare function getTempFilePathForID(id: string, tempDirPath: string): string;
export declare function getMetadataPathForID(id: string, tempDirPath: string): string;
export declare function getMediaType(mimeType: string): MediaType;
export declare function peekContentType(fileStream: NodeJS.ReadableStream): Promise<[string, NodeJS.ReadableStream]>;
export declare function pumpAsync(...streams: pump.Stream[]): Promise;
//# sourceMappingURL=utility.d.ts.map