import type { Vault } from '../vault/index.js'; import type { Connector } from '../connectors/types.js'; import type { LocalUsageStore } from '../usage-local/store.js'; import type { ReconciliationResult, ReconcileOptions } from './types.js'; export interface EngineDeps { vault: Vault; connectors: Record; store: LocalUsageStore; /** Override balance history file path */ historyPath?: string; } export declare class ReconciliationEngine { private deps; constructor(deps: EngineDeps); /** * 全部 provider 对账 (跑 vault 里所有 key 对应的 provider) * 默认窗口: 今日 00:00 → 现在 */ reconcileAll(opts?: ReconcileOptions): Promise; /** * 单 provider 对账 — auto select L1 vs L2 vs no_data */ reconcileProvider(provider: string, start: string, end: string): Promise; /** * 单条 surface 用的 1 行总结 (主入口 UX) * "OpenAI: 估算 ¥3.20 vs 真扣 ¥3.40 偏差 6.3% ✅" */ static formatSurfaceLine(r: ReconciliationResult): string; } //# sourceMappingURL=engine.d.ts.map