1 | import type Spec from './Spec';
|
2 | import type Clause from './Clause';
|
3 | import type Biblio from './Biblio';
|
4 | import type { BiblioEntry } from './Biblio';
|
5 | export declare const NO_CLAUSE_AUTOLINK: Set<string>;
|
6 | export declare const YES_CLAUSE_AUTOLINK: Set<string>;
|
7 | export declare function autolink(node: Node, replacer: RegExp, autolinkmap: AutoLinkMap, clause: Clause | Spec, currentId: string | null, allowSameId: boolean): void;
|
8 | export declare function replacerForNamespace(namespace: string, biblio: Biblio): {
|
9 | replacer: RegExp;
|
10 | autolinkmap: AutoLinkMap;
|
11 | };
|
12 | export interface AutoLinkMap {
|
13 | [key: string]: BiblioEntry;
|
14 | }
|