import { Node, Root, Parent, Element, Text } from "hast"; import { NormalizedOptions } from "./options"; import { Heading } from "./types"; /** * Determines whether the given node is a Root node. */ export declare function isRoot(node: Node): node is Root; /** * Determines whether the given node is an HTML Parent element. */ export declare function isParent(node: Node): node is Parent; /** * Determines whether the given node is an HTML Element. */ export declare function isElement(node: Node): node is Element; /** * Determines whether the given node is an HTML heading node, according to the specified options */ export declare function isHeading(node: Node, options: NormalizedOptions): node is Heading; /** * Determines whether the given node is an HTML Text node. */ export declare function isText(node: Node): node is Text;