import { FormulaBinaryExpression, FormulaFunctionExp } from './api/api-models'; export declare function isFormulaFunction(value: any): value is FormulaFunctionExp; /** * Parses the quoted body of a `FORMULA()` call into a nested AST. * Returns `undefined` when the source does not match the supported grammar (two field references joined by `+` or `-`) * so the caller can report the error through the parser's normal error handling. */ export declare function parseFormulaExpression(source: string): FormulaBinaryExpression | undefined; /** * Renders a formula AST back to its normalized source form, e.g. `Amount - ExpectedRevenue`. * Used by the composer and to populate `parameters` when parsing. * Throws when a hand-built AST does not describe two field references joined by `+` or `-`, * so a malformed formula never composes to invalid SOQL silently. */ export declare function renderFormulaExpression(formula: FormulaBinaryExpression): string;