/// export declare function captureLogStream(stream: NodeJS.WritableStream, passThrough?: boolean): { unhook: () => void; captured: () => string; };