import { DescendantsList } from '../Descendants.types'; /** * Finds the index of the registered descendant _immediately preceding_ the search element in the DOM, * and returns _one after_ that index. * (The element _after_ the element _before_ our search element, is our search element) * * e.g.: * * ```tsx *
A
*
B
* *
C
*
D
* descendants = [, , ] * * findDOMIndex(, descendants) // 2 (since is the closest _tracked_ DOM node preceding ) * ``` * * @internal */ export declare function findDOMIndex(element: T, items: DescendantsList): number; //# sourceMappingURL=findDOMIndex.d.ts.map