1 | import type { Nullable } from '../core.js';
|
2 | import type { SimpleElement, SimpleNode } from './simple.js';
|
3 |
|
4 | export interface Bounds {
|
5 | // a method to future-proof for wormholing; may not be needed ultimately
|
6 | parentElement(): SimpleElement;
|
7 | firstNode(): SimpleNode;
|
8 | lastNode(): SimpleNode;
|
9 | }
|
10 |
|
11 | export interface Cursor {
|
12 | readonly element: SimpleElement;
|
13 | readonly nextSibling: Nullable<SimpleNode>;
|
14 | }
|