1 | import type { Node } from '../nodes/Node.js';
|
2 | import type { Document } from './Document.js';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export declare function anchorIsValid(anchor: string): true;
|
9 | export declare function anchorNames(root: Document<Node, boolean> | Node): Set<string>;
|
10 |
|
11 | export declare function findNewAnchor(prefix: string, exclude: Set<string>): string;
|
12 | export declare function createNodeAnchors(doc: Document<Node, boolean>, prefix: string): {
|
13 | onAnchor: (source: unknown) => string;
|
14 | |
15 |
|
16 |
|
17 |
|
18 |
|
19 | setAnchors: () => void;
|
20 | sourceObjects: Map<unknown, {
|
21 | anchor: string | null;
|
22 | node: Node | null;
|
23 | }>;
|
24 | };
|