export declare function acquireRawMode(setRawMode: (v: boolean) => void, supported: boolean): () => void; type AltScreenOps = { enter: () => void; exit: () => void; enableMouse?: () => void; disableMouse?: () => void; }; export declare function acquireAltScreen(ops: AltScreenOps): () => void; export declare function getAltScreenActiveCount(): number; export {};