import { AgentInsightEdits, MonthEndTemplateData } from './companyMonthEndReportViewPayload'; /** * The AI CFO (V2) month-end email renders its subject line from this merge var * rather than from the generic `subject` key, so a subject typed in the cockpit * has to be written here too or the sent email keeps the AI's original subject. */ export declare const AGENT_INSIGHTS_SUBJECT_KEY = "agent_insights_subject"; /** * Build the `template_data` sent to the month-end email endpoint. * * Controller edits to the AI-generated insight fields are merged over the * template data held in the store. The server sanitizes and persists whichever * `agent_insights_*` keys are present, and the send path renders from the * persisted draft — so only a save (`is_preview: false`) makes an edit stick. */ export declare const buildMonthEndTemplateData: (templateData: MonthEndTemplateData | undefined, subject: string | undefined, agentInsightEdits?: AgentInsightEdits) => MonthEndTemplateData;