export declare class BlackoutManager { private enabled; private redactionMarker; constructor(enabled?: boolean); processChunk(chunk: string, state: BlackoutState): { output: string; state: BlackoutState; }; processText(text: string): string; createRedactionStream(): TransformStream; } export interface BlackoutState { inRedactedSection: boolean; buffer: string; } export declare function applyBlackoutToStream(stream: ReadableStream, enabled: boolean): Promise;