/**
 * While pi-tui owns the screen, strip whole-line pino JSON from stdout/stderr.
 * ANSI chunks must pass through immediately (see runTui).
 *
 * Longer-term (openclaw-style): prefer routing logger transports away from stdout when the TUI
 * is active (e.g. file-only + explicit subsystem tags) instead of patching stdio here.
 */
export declare function isLikelyPinoJsonLogLine(line: string): boolean;
export type TuiStdioFilterHandle = {
    restore: () => void;
    /** Restore native stdio writes temporarily (e.g. inherited child process). */
    pause: () => void;
    /** Re-apply filtering after `pause()`. */
    resume: () => void;
};
/** Patch process stdout/stderr; call `restore()` before exiting the TUI. */
export declare function installTuiStdioFilter(): TuiStdioFilterHandle;
