import type { JobTextChunk, JobTextSource } from "./types.js"; /** * Text appended over time and kept as its newest `capacity` UTF-16 units, * readable from any retained offset: a bash job's own output, or a * subagent's finished tool results. */ export declare class TextTap implements JobTextSource { #private; readonly id: string; readonly label: string; constructor(id: string, label: string, capacity?: number); append(text: string): void; /** No more text will arrive. */ close(): void; read(from: number): JobTextChunk; }