import { List, Set } from "immutable"; import { restrictStatement } from "./restrictsyntax"; import { Lang } from "./lang"; import * as ast from "./ast"; import * as parsed from "./parsedsyntax"; export declare function parseExpression(str: string, options?: { lang?: Lang; types?: Set; }): ast.Expression; export declare function parseStatement(str: string, options?: { types?: Set; lang: Lang; }): typeof restrictStatement; export declare function parseProgramRaw(str: string): List; export declare function parseProgram(lang: Lang, str: string): List;