import { Expression } from "../Joinpoints.js";
export default class MathExtra {
    /**
     * Attempts to simplify a mathematical expression.
     *
     * @param expression - The expression to simplify.
     * @param constants - An object that maps variable names to constants.
     *
     * @returns Simplified expression
     */
    static simplify(expression: Expression | string, constants?: Record<string, string | number>): string;
    /**
     * Attempts to convert a mathematical expression to valid C code (e.g., converts ^ to a call to pow()).
     *
     * @param expression - The expression to simplify.
     *
     * @returns Simplified expression as C code
     */
    static convertToC(expression: Expression | string): string;
    /**
     * Attempts to simplify a mathematical expression, returning a string that represents C code.
     *
     * @param expression - The expression to simplify.
     * @param constants - An object that maps variable names to constants.
     *
     * @returns Simplified expression as C code
     */
    static simplifyToC(expression: Expression | string, constants?: Record<string, string | number>): string;
}
//# sourceMappingURL=MathExtra.d.ts.map