import type { RemoteConsoleLogEntry } from '../client/remote-console-client.types.js'; /** * @purpose Renders remote log entries into deterministic flat stdout lines for terminal consumers. * @consumer RemoteConsoleHttpServer */ export declare class RemoteConsoleStdoutWriter { /** @purpose Stores low-level line sink used to emit already-rendered stdout entries. */ protected readonly _writeLine: (line: string) => void; /** * @purpose Configures writer with injected sink or defaults to process.stdout line output. * @param [writeLine] Optional custom line writer function. */ constructor(writeLine?: (line: string) => void); /** * @purpose Prints ordered log entries as one normalized line per entry. * @param items Parsed log entry list from command envelope payload. * @sideEffect IO: writes rendered lines into stdout stream (or injected writer). */ write(items: RemoteConsoleLogEntry[]): void; /** * @purpose Creates stable text format independent from platform util.inspect behavior. * @param item Single remote log entry with serialized args. * @returns Flat line in format `[console.] ...`. */ render(item: RemoteConsoleLogEntry): string; }