/**
 * NeuroLink Analytics System
 *
 * Provides lightweight analytics tracking for AI provider usage,
 * including tokens, costs, performance metrics, and custom context.
 */
import type { JsonValue, UnknownRecord } from "../types/common.js";
export interface AnalyticsData {
    provider: string;
    model: string;
    tokens: {
        input: number;
        output: number;
        total: number;
    };
    cost?: number;
    responseTime: number;
    context?: Record<string, JsonValue>;
    timestamp: string;
    evaluation?: {
        relevanceScore: number;
        accuracyScore: number;
        completenessScore: number;
        overall: number;
        evaluationProvider?: string;
        evaluationTime?: number;
        evaluationAttempt?: number;
    };
    costDetails?: UnknownRecord;
}
/**
 * Create analytics data structure from AI response
 */
export declare function createAnalytics(provider: string, model: string, result: unknown, responseTime: number, context?: Record<string, unknown>): AnalyticsData;
