export declare const DISABLE_TERMINAL_OUTPUT_BUFFER_ENV = "PIX_DISABLE_TERMINAL_OUTPUT_BUFFER"; export declare const TERMINAL_OUTPUT_BUFFER_ENV = "PIX_TERMINAL_OUTPUT_BUFFER"; export type TerminalOutputFrameRow = { row: number; output: string; }; export type TerminalOutputFrame = readonly TerminalOutputFrameRow[]; export type TerminalOutputRegion = "statusLine"; export type TerminalOutputBufferOptions = { enabled?: boolean; env?: Record; }; export declare class TerminalOutputBuffer { private readonly enabled; private readonly previousByRow; private previousStatusLine; constructor(options?: TerminalOutputBufferOptions); diffFrame(frame: TerminalOutputFrame): string; diff(region: TerminalOutputRegion, output: string): string; reset(): void; } export declare function terminalOutputBufferDisabled(env?: Record): boolean;