/** * Presentation views over canonical redacted output bytes. * * `encoded` is base64: it round-trips the exact canonical bytes and cannot * execute a control sequence anywhere. `plain` is a bounded linearizer, not a * terminal emulator: it keeps no screen grid, no alternate screen, and no * cursor-addressable replay, and it guarantees that no host-terminal control * byte survives into model, transcript, log, or UI output. */ import type { OutputEvent, OutputView, PresentedOutputEvent } from "./types.js"; /** * Strip or neutralize escape sequences and unsafe controls. Output is a pure * function of the input text, so identical bytes always produce identical text. */ export declare function neutralizeTerminalControls(input: string): string; export declare function presentEvent(event: OutputEvent, view: OutputView): PresentedOutputEvent; export declare function presentEvents(events: readonly OutputEvent[], view: OutputView): { events: PresentedOutputEvent[]; decodingLoss: boolean; };