import { File as ProjectFile } from "@atomist/automation-client/lib/project/File";
import { FileParser } from "@atomist/automation-client/lib/tree/ast/FileParser";
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;
//# sourceMappingURL=XmldocFileParser.d.ts.map