/** * Tags are used to delimit the start and end of elements in the markup. * Raw text, escapable raw text, and normal elements have a start tag to indicate where they begin, * and an end tag to indicate where they end. * The start and end tags of certain normal elements can be omitted, * as described below in the section on [[#optional tags]]. Those that cannot be omitted must not be omitted. * Void elements only have a start tag; end tags must not be specified for void elements. * Foreign elements must either have a start tag and an end tag, or a start tag that is marked as self-closing, * in which case they must not have an end tag. * * @see https://www.w3.org/TR/html5/syntax.html#tags */ /** * Returns true if the input is void tag name * * Void elements can’t have any contents (since there’s no end tag, no content can be put between the start tag and the end tag). * * @param name tag name in lower case */ export declare function isVoidTag(name: string): boolean; /** * Returns true if the input is a html5 tag name but not a void tag name, * otherwise returns false * * @param name tag name in lower case */ export declare function isNonVoidTag(name: string): boolean; /** * Returns true if the input is raw text tag name * * The text in raw text and escapable raw text elements must not contain any occurrences of the string "