import type { DataSovereigntyRecord } from './data-sovereignty'; export interface ReportStats { /** 记录总数 */ total: number; /** 云端调用总数(destination = cloud-api) */ cloudCallCount: number; /** 本地执行总数 */ localActionCount: number; /** 数据流出次数(direction = outbound) */ outboundCount: number; /** 数据流入次数(direction = inbound) */ inboundCount: number; /** 本地闭环次数(direction = local-only) */ localOnlyCount: number; /** 敏感数据本地处理率(0-1) */ sensitiveLocalRate: number; /** 审计异常数 */ anomalyCount: number; /** 模型路由分布 */ routeDist: { cloudStrong: number; cloudFast: number; local7b: number; local05b: number; }; /** 原始记录(明细表用) */ records: DataSovereigntyRecord[]; } export type ReportKindLabel = 'daily' | 'weekly' | 'monthly'; /** * 渲染 6-section Markdown 报告 * @param kind 报告类型 * @param label 报告标识(2026-07-28 / 2026-W30 / 2026-07) * @param stats 聚合统计 */ export declare function renderReport(kind: ReportKindLabel, label: string, stats: ReportStats): string; //# sourceMappingURL=report-template.d.ts.map