import { type CreateOutputOptions, type Output } from './output.js'; export interface MemoryOutput { output: Output; /** Everything written to stdout so far. */ stdout: () => string; /** Everything written to stderr so far. */ stderr: () => string; } /** * An {@link Output} that captures writes in memory instead of * touching the process streams, for asserting on CLI output. */ export declare const createMemoryOutput: (options?: Omit) => MemoryOutput;