export function formatAttributes(attributes: NamedNodeMap): object; export function formatDOM(nodes: NodeList, parent?: Element | null, directive?: string): Array; declare var Element: typeof domhandler.Element; declare var Comment: typeof domhandler.Comment; declare var ProcessingInstruction: typeof domhandler.ProcessingInstruction; declare var Text: typeof domhandler.Text; import domhandler = require("domhandler"); export {};