import { FileParser, ProjectFile } from "@atomist/automation-client";
import { TreeNode } from "@atomist/tree-path";
/**
 * FileParser implementation that uses xmldoc library.
 * Preserves and exposes positions.
 */
export declare class XmldocFileParser implements FileParser<XmldocTreeNode> {
    rootName: string;
    toAst(f: ProjectFile): Promise<XmldocTreeNode>;
}
/**
 * Allows further operations specific to XML elements
 */
export interface XmldocTreeNode extends TreeNode {
    /**
     * Value inside the element: Not the same as its value
     */
    innerValue: string;
    /**
     * Specialize return type
     * @return {XmldocTreeNode[]}
     */
    $children: XmldocTreeNode[];
}
export declare function isXmldocTreeNode(tn: TreeNode): tn is XmldocTreeNode;
