1 | import type { Options } from './ecmarkup';
|
2 | export default interface Spec {
|
3 | spec: this;
|
4 | opts: Options;
|
5 | rootPath: string;
|
6 | rootDir: string;
|
7 | namespace: string;
|
8 | exportBiblio(): any;
|
9 | generatedFiles: Map<string | null, string>;
|
10 | }
|
11 | export declare type Warning = {
|
12 | type: 'global';
|
13 | ruleId: string;
|
14 | message: string;
|
15 | } | {
|
16 | type: 'node';
|
17 | node: Text | Element;
|
18 | ruleId: string;
|
19 | message: string;
|
20 | } | {
|
21 | type: 'attr';
|
22 | node: Element;
|
23 | attr: string;
|
24 | ruleId: string;
|
25 | message: string;
|
26 | } | {
|
27 | type: 'attr-value';
|
28 | node: Element;
|
29 | attr: string;
|
30 | ruleId: string;
|
31 | message: string;
|
32 | } | {
|
33 | type: 'contents';
|
34 | node: Text | Element;
|
35 | ruleId: string;
|
36 | message: string;
|
37 | nodeRelativeLine: number;
|
38 | nodeRelativeColumn: number;
|
39 | } | {
|
40 | type: 'raw';
|
41 | ruleId: string;
|
42 | message: string;
|
43 | line: number;
|
44 | column: number;
|
45 | file?: string;
|
46 | source?: string;
|
47 | };
|