using PowderCoating.Application.DTOs.Company;
namespace PowderCoating.Application.Interfaces;
public interface ICustomFormulaAiService
{
///
/// Generates a NCalc formula, field list, and notes from a natural-language description
/// and an optional diagram image. Returns a
/// ready to pre-fill the template editor.
///
Task GenerateFormulaAsync(
GenerateFormulaFromAiRequest request,
byte[]? imageBytes = null,
string? imageContentType = null);
///
/// Evaluates a NCalc formula with the supplied variable map and returns the numeric result.
/// Safe server-side only — no user-controlled code execution.
///
EvaluateFormulaResponse EvaluateFormula(EvaluateFormulaRequest request);
}