/**
 * Generic scroll hook for managing scroll of area
 * - Listens to key events and updates scroll based on given input
 * - Tracks all key events globally
 * - Supports some known unix keymappings of CLI applications
 */
export declare function useScroll(maxScroll: number, maxHeight: number): number;
//# sourceMappingURL=useScroll.d.ts.map