/** * spm_evaluate — Gap evaluator tool. * * Stateless: takes the document + expectations + clarification answers, * calls the gap evaluator agent, returns updated scores per sub-expectation. * * Use after 3 rounds of spm_clarify to check which gaps are now covered. * The evaluator reads both the original document AND the clarification answers * to produce updated scores. */ export interface EvaluateInput { document: string; nano_app_id: string; main_expectation: string; all_sub_expectations: string; prior_clarifications: Array<{ question: string; answer: string; }>; user_context?: string; about_company?: string; } export declare function handleEvaluate(input: EvaluateInput, apiKey?: string): Promise;