export interface OutputSubscription { unsubscribe: () => void; } export interface OutputStreamLike { subscribe: (handler: (data: string) => void) => OutputSubscription; } export declare class RecentOutputBufferRegistry { private buffers; private subscriptions; attach(key: string, stream: OutputStreamLike, limit: number): void; has(key: string): boolean; captureCursor(key: string): number | undefined; getStartOffset(key: string): number | undefined; getEndOffset(key: string): number | undefined; getSince(key: string, cursor: number): string; detach(): void; }