1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { TagContentType, TagDefinition } from './tags';
|
9 | export declare class HtmlTagDefinition implements TagDefinition {
|
10 | private closedByChildren;
|
11 | private contentType;
|
12 | closedByParent: boolean;
|
13 | implicitNamespacePrefix: string | null;
|
14 | isVoid: boolean;
|
15 | ignoreFirstLf: boolean;
|
16 | canSelfClose: boolean;
|
17 | preventNamespaceInheritance: boolean;
|
18 | constructor({ closedByChildren, implicitNamespacePrefix, contentType, closedByParent, isVoid, ignoreFirstLf, preventNamespaceInheritance }?: {
|
19 | closedByChildren?: string[];
|
20 | closedByParent?: boolean;
|
21 | implicitNamespacePrefix?: string;
|
22 | contentType?: TagContentType | {
|
23 | default: TagContentType;
|
24 | [namespace: string]: TagContentType;
|
25 | };
|
26 | isVoid?: boolean;
|
27 | ignoreFirstLf?: boolean;
|
28 | preventNamespaceInheritance?: boolean;
|
29 | });
|
30 | isClosedByChild(name: string): boolean;
|
31 | getContentType(prefix?: string): TagContentType;
|
32 | }
|
33 | export declare function getHtmlTagDefinition(tagName: string): HtmlTagDefinition;
|