import type { LocalUsageStore, UsageQuery } from '../usage-local/store.js'; import type { ReconciliationEngine } from '../reconciliation/index.js'; import type { CheckupReport } from './types.js'; import { checkDimensionFiles } from './dimension-3-files.js'; import { checkDimensionContext } from './dimension-4-context.js'; export interface CheckupDeps { store: LocalUsageStore; reconciliationEngine: ReconciliationEngine; /** 是否为 Pro 用户 (锁标控制) */ is_pro: boolean; /** 跳过 history 写入 (测试用) */ skip_persist?: boolean; /** 测试/调用方可覆盖文件维度实现,避免扫真实 HOME。 */ checkDimensionFiles?: typeof checkDimensionFiles; /** 测试/调用方可覆盖上下文维度实现,避免扫真实 HOME。 */ checkDimensionContext?: typeof checkDimensionContext; /** * Override the usage-aggregation window for dimension 1. Used by the * `/skillfm` flow (since_last_report) to make the manual scan reflect the * period since the previous report. Default: `timeWindow('today')`. */ usageWindow?: UsageQuery; } /** * 主入口 — 跑一次全 6 维度体检 → CheckupReport */ export declare function runCheckup(deps: CheckupDeps): Promise; /** * 主入口 UX 渲染 — 把 CheckupReport 渲染成 < 300 字的中文文本块. * V1.4 乔布斯级打磨 (Eric 真测反馈): * - 健康度配形容词 (96 ✨ 优秀 / 67 ⚠ 需关注) * - 维度 emoji 一致 + Pro 维度折叠成 1 行不重复 * - "今日 #1" 用 actionable 文案 (含真数字) * - 0 MB 文件正向反馈 * - action button 收到 2-3 个最关键 */ export declare function renderMainEntry(report: CheckupReport): string; //# sourceMappingURL=report.d.ts.map