/** * Purpose: get children of a node organised by their depth. */ import * as ts from "typescript"; interface DepthOfChildren { /** * The same level of depth. */ sameDepth: readonly ts.Node[]; /** * One level of depth below. */ below: readonly ts.Node[]; } /** * @param node The node whose children to categorise by depth * @returns a tuple of [children and the same depth, children at one level below] */ export declare function whereAreChildren(node: ts.Node): DepthOfChildren; export {};