import type { Readable, Writable } from "node:stream"; import type { AdmittedChatSession } from "./session.js"; import { type ChatState, type Recipient } from "./view.js"; /** * Run the plain presentation until the user leaves or the session ends. Returns the final state. * Width is the caller's measured terminal width (Infinity when not a terminal: no wrapping). */ export declare function runPlain(opts: { session: AdmittedChatSession; input: Readable; output: Writable; width: number; initialRecipient?: Recipient; }): Promise; //# sourceMappingURL=plain.d.ts.map