import ts from 'typescript';

/**
 * ### Warning
 *
 * This function is problematic. If the node contains thees node together:
 * * node with a `parent` that is finally a `ts.SourceFile` (node from compiled text)
 * * node without a parent (node created by `ts.factory` in code)
 *
 * The node will not be correctly printed.
 */
declare function convertToTSExpression(node: ts.Node): string;
declare function printTSExpression(...node: ts.Node[]): void;
declare function getTypeOfTSNode(program: ts.Program, node: ts.Node): ts.Type;

export { convertToTSExpression, getTypeOfTSNode, printTSExpression };
