import { XastNode, XastElement, XastText } from "./xast"; /** * Filter a list of XML nodes to ensure that only elements and text nodes are in the list. */ export declare function onlyElementsAndText(nodes: XastNode[]): (XastElement | XastText)[]; /** * Create a matcher that matches elements with tagName = `name` * * @export * @param {string} name * @returns */ export declare function elmMatcher(name: T): (node: any) => node is XastElement; /** * Returns whether the node is a XAST element */ export declare const isElement: (node: any) => node is import("xast").Element; //# sourceMappingURL=tools.d.ts.map