export declare function restoreTerminalState(reason?: string): void;