1 | /**
|
2 | * contains the main logic of the `focus-lock` package.
|
3 | *
|
4 | * ! you probably dont need this function !
|
5 | *
|
6 | * given top node(s) and the last active element returns the element to be focused next
|
7 | * @returns element which should be focused to move focus inside
|
8 | * @param topNode
|
9 | * @param lastNode
|
10 | */
|
11 | export declare const focusSolver: (topNode: Element | Element[], lastNode: Element | null) => undefined | {
|
12 | node: HTMLElement;
|
13 | };
|