export declare const count: (str: string, ch: string, Break?: (ch: string) => boolean) => number; export declare const countWS: (line: string) => number; export declare const setMeta: (target: T, ...metas: [keyof T, any][]) => T; export interface Node { name?: string; children?: this[]; parent?: this; tab?: number; [key: string]: any; } export declare const getParent: (node: Node, nodeTab: number) => Node; export declare const parse: (code: string, mapper?: (node: Node) => T) => T; export declare const getAbsPath: (n: Node, slash?: string) => string;