import type { Frame } from "../frame.js";
import type { OutputTarget } from "./types.js";
type TerminalOutputOptions = {
    synchronizedOutput?: boolean;
};
export declare class TerminalOutput implements OutputTarget {
    private inAltScreen;
    private previousGrid;
    private synchronizedOutput;
    private sigtstpInstalled;
    private exitHandler;
    private sigintHandler;
    private sigtermHandler;
    private sigtstpHandler;
    private sigcontHandler;
    constructor(opts?: TerminalOutputOptions);
    init(): void;
    write(frame: Frame, _label?: string): void;
    destroy(): void;
    suspend(): void;
    resume(): void;
    private removeSignalHandlers;
}
export {};
