/**
 * useKeypress Hook
 *
 * Subscribe to keyboard events from the KeypressProvider.
 * This replaces Ink's useInput hook.
 */
import type { KeypressHandler, Key } from '../contexts/KeypressContext.js';
export type { Key };
/**
 * Hook to subscribe to keypress events.
 *
 * @param onKeypress - Callback for each keypress
 * @param options.isActive - Whether to listen for input
 */
export declare function useKeypress(onKeypress: KeypressHandler, { isActive }: {
    isActive: boolean;
}): void;
//# sourceMappingURL=useKeypress.d.ts.map