import type { AnalyticsProvider } from '@contractspec/lib.contracts-integrations'; export interface ModelSelectionEventProperties { modelId: string; providerKey: string; score: number; dimension?: string; reason: string; alternativesCount: number; costEstimateInput?: number; costEstimateOutput?: number; selectionDurationMs?: number; } /** * Track model selection decisions via PostHog analytics. * * Captures a `$model_selection` event with the selection result properties, * enabling analytics dashboards for model usage patterns and cost tracking. */ export declare class ModelSelectionTelemetry { private readonly provider; private readonly eventName; constructor(provider: AnalyticsProvider, options?: { eventName?: string; }); trackSelection(distinctId: string, properties: ModelSelectionEventProperties): Promise; }