declare type Nullable = T | null; export interface INode { props: { [key: string]: any; }; type: string; children: INode[]; parent: Nullable; value?: string; } export default function parseXML(filePath: string, dir?: string): INode[]; export {};