import { t } from '../common'; declare type Node = t.ITreeNode; export declare class TreeQuery implements t.ITreeQuery { static create(args: T | t.ITreeQueryArgs): t.ITreeQuery; static children(of?: T, fn?: t.TreeChildrenVisitor | t.TreeChildrenOptions, options?: t.TreeChildrenOptions): T[]; static hasChild(parent?: Node, child?: t.NodeIdentifier): boolean; static childAt(index: number, parent?: T): T; private constructor(); readonly root: T; readonly namespace: string; walkDown: t.TreeWalkDown; walkUp: t.TreeWalkUp; find: t.TreeFind; findById: t.TreeFindById; parent: t.TreeParent; ancestor: t.TreeAncestor; depth: t.TreeDepth; exists: t.TreeNodeExists; } export {};