import { type WriteStream } from "../types/io.js"; /** * Props for StderrContext. */ export interface StderrProps { /** * Stderr stream passed to `render()` in `options.stderr` or `process.stderr` * by default. */ readonly stderr: WriteStream; /** * Write any string to stderr while preserving Tinky's output. It's useful * when you want to display external information outside of Tinky's rendering * and ensure there's no conflict. It's similar to ``, but can't * accept components; it only works with strings. */ readonly write: (data: string) => void; } /** * `StderrContext` is a React context that exposes the stderr stream. */ export declare const StderrContext: import("react").Context;