import type { DailySnapshot, AnalyticsSummary, ModelPricing } from './analytics-types.js'; export declare function estimateCost(model: string, inputTokens: number, outputTokens: number): number; export declare class AnalyticsService { /** Record a new chat session. */ recordChat(): Promise; /** Record token usage from an LLM call. */ recordTokens(model: string, inputTokens: number, outputTokens: number): Promise; /** Record a skill execution. */ recordSkillRun(skillName: string, success: boolean): Promise; /** Record an entity creation event. */ recordEntityCreated(entityType: string): Promise; /** Snapshot current entity counts (called periodically, e.g. by cron or at startup). */ snapshotEntityCounts(counts: Record): Promise; /** Get the daily snapshot for a specific date. */ getDay(date: string): Promise; /** Get today's snapshot. */ getToday(): Promise; /** Get all daily snapshots over the last N days. */ getDays(days?: number): Promise; /** Get an aggregated summary over the last N days. */ getSummary(days?: number): Promise; /** Get pricing table for reference. */ getModelPricing(): Record; } export declare function getAnalyticsService(): AnalyticsService; //# sourceMappingURL=analytics-service.d.ts.map