This commit is contained in:
eewing
2026-02-17 14:10:16 -06:00
parent 2bca5834c5
commit cf73cd3b4c
11246 changed files with 1690552 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import type { Direction, Orientation } from "../shared/index.js";
export declare const FIRST_KEYS: string[];
export declare const LAST_KEYS: string[];
export declare const FIRST_LAST_KEYS: string[];
export declare const SELECTION_KEYS: string[];
/**
* A utility function that returns the next key based on the direction and orientation.
*/
export declare function getNextKey(dir?: Direction, orientation?: Orientation): string;
/**
* A utility function that returns the previous key based on the direction and orientation.
*/
export declare function getPrevKey(dir?: Direction, orientation?: Orientation): string;
/**
* A utility function that returns the next and previous keys based on the direction
* and orientation.
*/
export declare function getDirectionalKeys(dir?: Direction, orientation?: Orientation): {
nextKey: string;
prevKey: string;
};