import type { LogLevel } from "./protocol.js"; /** Gives console output to `write` instead of stdout, until the returned function puts the console back. */ declare function captureConsole(write: (level: LogLevel, message: string) => void): () => void; export { captureConsole }; //# sourceMappingURL=console-capture.d.ts.map