export interface ProcessJobOutputTailSnapshot { readonly stdoutBytes: number; readonly stderrBytes: number; readonly truncated: boolean; readonly preview: string; } export interface ProcessJobOutputTailOptions { readonly previewChars: number; readonly maxOutputBytes: number; readonly secrets: readonly string[]; readonly maxLines?: number; readonly publishIntervalMs?: number; /** One generic notification for an internal accumulator failure; never receives process output. */ readonly onFailure?: () => void; } /** * Memory-only, redacted tail for one active process job. * * This mirrors the runner's shared stdout/stderr byte admission without * controlling it. Published state is throttled; finalization is immediate. */ export declare class ProcessJobOutputTail { private readonly options; private readonly maxLines; private readonly publishIntervalMs; private readonly redactors; private readonly streams; private readonly lines; private sequence; private omittedLines; private stdoutBytes; private stderrBytes; private truncated; private failed; private finished; private warned; private timer; private published; constructor(options: ProcessJobOutputTailOptions); writeStdout(chunk: Buffer): void; writeStderr(chunk: Buffer): void; snapshot(): ProcessJobOutputTailSnapshot | undefined; finalize(): ProcessJobOutputTailSnapshot | undefined; discard(): void; private write; private acceptDecoded; private appendReady; private armPublication; private render; private clearTimer; private failClosed; } //# sourceMappingURL=process-job-output-tail.d.ts.map