1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | import { Document } from './document';
|
15 | import { ElementBase, ElementBaseInit, ScannedElementBase } from './element-base';
|
16 | import { Feature } from './feature';
|
17 | import { ScannedReference } from './reference';
|
18 | export { Visitor } from '../javascript/estree-visitor';
|
19 | export declare class ScannedElement extends ScannedElementBase {
|
20 | tagName?: string;
|
21 | className?: string;
|
22 | readonly name: string | undefined;
|
23 | superClass?: ScannedReference<'class'>;
|
24 | |
25 |
|
26 |
|
27 | extends?: string;
|
28 | resolve(document: Document): Element;
|
29 | }
|
30 | export interface ElementInit extends ElementBaseInit {
|
31 | tagName?: string;
|
32 | className?: string;
|
33 | superClass?: ScannedReference<'class'>;
|
34 | extends?: string;
|
35 | }
|
36 | declare module './queryable' {
|
37 | interface FeatureKindMap {
|
38 | 'element': Element;
|
39 | }
|
40 | }
|
41 | export declare class Element extends ElementBase implements Feature {
|
42 | readonly tagName: string | undefined;
|
43 | |
44 |
|
45 |
|
46 |
|
47 | extends?: string;
|
48 | constructor(init: ElementInit, document: Document);
|
49 | }
|