interface KeyPress { ctrl?: boolean; shift?: boolean; alt?: boolean; meta?: boolean; name?: string; } export declare const TERMINATION_SIGNALS: string[]; export declare function handleExit(callback: (onTerminate: { isSIGHUP: boolean; }) => void): () => void; export declare function handleKeypress(callback: (onKeyPress: KeyPress) => void): void; export {};