import { Block } from './block'; import { AssignmentStatement, StatementSeparator, ExpressionStatement, ForLoop, IfThenElse, Statement, VariableDeclaration, ThrowStatement } from './statements'; import { Expression } from '../expressions'; export declare function ret(e?: Expression): Statement; export declare function if_(condition: Expression): IfThenElse; export declare function forConst(iter: Expression, iterable?: Expression, stmt?: Statement): ForLoop; export declare function assign(lhs: Expression, rhs: Expression): AssignmentStatement; export declare function constVar(lhs: Expression, rhs: Expression): VariableDeclaration; export declare function letVar(lhs: Expression, rhs: Expression): VariableDeclaration; export declare function expr(exp: Expression): ExpressionStatement; export declare function sep(): StatementSeparator; export declare function block(...stmts: Array): Block; export declare function throw_(error: Expression): ThrowStatement; /** * Insert a literal statement in the target code language * * (Internally uses an expression statement and the `directCode` * expression). */ export declare function directCode(code: string): Statement;