/**
 * 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.
 * Ported from oh-my-pi 9df0457b31 (MIT, Copyright Can Boluk et al.).
 */
import type { JobTextChunk, JobTextSource } from "./source-types.ts";
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;
}
//# sourceMappingURL=text-tap.d.ts.map