import { Lang } from "./lang"; import * as ast from "./ast"; import * as parsed from "./parsedsyntax"; export declare function restrictType(lang: Lang, syn: ast.Type): ast.Type; export declare function restrictExpression(lang: Lang, syn: parsed.Expression): ast.Expression; export declare function restrictLValue(lang: Lang, syn: parsed.Expression): ast.LValue; export declare function restrictStatement(lang: Lang, syn: parsed.Statement): ast.Statement; export declare function restrictDeclaration(lang: Lang, decl: parsed.Declaration | string): string | ast.Declaration;