export interface Key { name: string; ctrl: boolean; meta: boolean; shift: boolean; paste: boolean; sequence: string; } /** * A hook that listens for keypress events from stdin, providing a * key object that mirrors the one from Node's `readline` module. * * Based on Gemini CLI's implementation. */ export declare function useKeypress(onKeypress: (key: Key) => void, { isActive }: { isActive: boolean; }): void; //# sourceMappingURL=useKeypress.d.ts.map