UNPKG

301 BTypeScriptView Raw
1export interface NodeIndex {
2 node: HTMLElement;
3 tabIndex: number;
4 index: number;
5}
6export declare const tabSort: (a: NodeIndex, b: NodeIndex) => number;
7export declare const orderByTabIndex: (nodes: HTMLElement[], filterNegative: boolean, keepGuards?: boolean | undefined) => NodeIndex[];