import { Block, Expression, Node, NodeArray, Statement, TypeNode, TypeParameterDeclaration } from "typescript"; export interface IParser { parse(expression: string): NodeArray; parseExpression(expression: string): Expression; parseStatement(statement: string): Statement; parseOne(expression: string): T; parseType(type: string): TypeNode; parseBlock(block: string): Block; parseTypeParameterDeclaration(type: string): TypeParameterDeclaration; }