/**
 * Copyright: (c) Myia SAS 2026.
 * This file and its contents are licensed under the AGPLv3 License.
 * Please see the LICENSE file at the root of this repository
 */
export interface StdoutCaptureResult {
    stdout: string[];
    stderr: string[];
}
export declare class StdoutCaptureSession {
    private readonly stdoutBuf;
    private readonly stderrBuf;
    private readonly origStdout;
    private readonly origStderr;
    private stopped;
    constructor();
    stop(): StdoutCaptureResult;
    private makePatched;
    private static chunkToString;
}
