/**
 * Read entire stream content as string
 *
 * Handles both flowing streams and streams that have already
 * buffered data (using readable stream semantics).
 *
 * Node 0.8+ compatible.
 */
export type StreamToStringCallback = (error?: Error | null, result?: string) => void;
export default function streamToString(stream: NodeJS.ReadableStream, callback: StreamToStringCallback): void;
