import type { LineWriter } from "../audit/LineAuditSink.js"; import type { Redactor } from "../secrets/Redactor.js"; export interface LineSinks { readonly stdout: LineWriter; readonly stderr: LineWriter; } /** * The one way a line leaves the process. Audit and process lines go to * stdout, security lines to stderr, every one of them through the redactor * first. A redaction is reported through `onRedaction` so the security stream * can say that something was caught; it never stops the line, because a * caller-shaped correlation id that looks like a token must not be a way to * silence the evidence stream. */ export declare class LineEmitter { private readonly sinks; private readonly redactor; private onRedaction; constructor(sinks: LineSinks, redactor: Redactor); reportRedactions(listener: (patterns: readonly string[]) => void): void; readonly audit: LineWriter; readonly process: LineWriter; readonly security: LineWriter; private redacted; } //# sourceMappingURL=LineEmitter.d.ts.map