/** * src/tools/check-usage.ts — handler for `skillfm_check_usage`. * * Phase 0: returns the mock fixture from BrainClient.getUsage() (matches * ACCEPTANCE-SCENARIO §1.1 A2 — $487 / month, $312 already saved). * * TODO Week 5: * - Pull real usage from each provider via BYOK proxy (LlmTask reverse * dispatch — agent runs the SDK calls on user machine, MCP only * aggregates). Never read API keys here. * - Honor `period` input ('24h' / '7d' / '30d') — Phase 0 always returns * monthly. * - Apply Pro gating: Free users get totalSpent + savings only; * `byPlatform` breakdown locked behind ProLockedFeature. * - Per-platform `tokens` and `calls` should come from ccusage / Mem0 * integrations, not from brain. * - Add cache: if last fetch < 30s ago, return cached blob. */ import { type SkillFmCheckUsageInput, type SkillFmCheckUsageOutput, type SkillFmToolResult } from '../_vendored-contracts/beacon-mcp-tools-v1.js'; import type { BrainClient } from '../brain-client.js'; export interface CheckUsageDeps { brain: BrainClient; } export declare function handleCheckUsage(_input: SkillFmCheckUsageInput, deps: CheckUsageDeps): Promise>; //# sourceMappingURL=check-usage.d.ts.map