import { ConstantAst, SlotAst, Ast, CallAst, IfAst, ListAst, FeatureAst } from "../api/ast"; import { ConstantSlot } from "../api/parse"; export declare class AstBuilder { static constant(value: any): ConstantAst; static slot(value: ConstantSlot): SlotAst; static call(functionName: string, args: Ast[]): CallAst; static props(obj: { [key: string]: Ast; }): CallAst; static branch(condition: Ast, trueBranch: Ast, falseBranch: Ast): IfAst; static feature(name: string): FeatureAst; static and(asts: Ast[]): Ast; static or(asts: Ast[]): Ast; static list(asts: Ast[]): ListAst; }