import { IForeachNodeCallback, INode, INodePath } from "@leight-core/leight"; import type ts from "typescript"; export declare function toNode(node: ts.Node, sourceFile: ts.SourceFile): INode; export declare function toNodePaths(root: ts.Node, sourceFile: ts.SourceFile, path?: string[]): INodePath[]; export declare function foreachNode(node: ts.Node, sourceFile: ts.SourceFile, callback: IForeachNodeCallback): void; export declare function pickNodes(path: string[], root: ts.Node, sourceFile: ts.SourceFile): ts.Node[]; export declare function pickNode(path: string[], root: ts.Node, sourceFile: ts.SourceFile): ts.Node | undefined; export declare function requireNode(path: string[], root: ts.Node, sourceFile: ts.SourceFile): ts.Node; export declare function toPrintNode(node: ts.Node, sourceFile: ts.SourceFile, indentLevel?: number): void;