export interface ToolAdoptionRow {
    tool: string;
    totalCalls: number;
    uniqueInstalls: number;
    errorRate: number;
    blockedRate: number;
    lastSeenAt: string;
    trend: 'rising' | 'stable' | 'falling' | 'new' | 'dead';
}
export interface WorkflowCompletionRow {
    installationId: string;
    hasCreateSpec: boolean;
    hasValidate: boolean;
    hasDone: boolean;
    completionRate: number;
}
export interface FrictionPointRow {
    tool: string;
    blockedCount: number;
    totalCalls: number;
    blockedRate: number;
    topMessage: string | null;
}
export interface VersionAdoptionRow {
    planVersion: string;
    userCount: number;
    pct: number;
    isLatest: boolean;
}
export interface ProductInsightsReport {
    generatedAt: string;
    periodDays: number;
    totalEvents: number;
    uniqueInstalls: number;
    adoption: ToolAdoptionRow[];
    frictionPoints: FrictionPointRow[];
    versionAdoption: VersionAdoptionRow[];
    deadTools: string[];
    summary: string;
}
export type ProductInsightsReport_Report = 'adoption' | 'friction' | 'versions' | 'dead_tools' | 'full';
export interface TelemetryEventRow {
    event_name: string;
    properties: Record<string, unknown>;
    installation_id: string;
    created_at: string;
}
export interface AdoptionStats {
    total: number;
    installs: Set<string>;
    errors: number;
    blocked: number;
    lastSeen: string;
}
export interface FrictionStats {
    blocked: number;
    total: number;
    messages: string[];
}
//# sourceMappingURL=product-intelligence.d.ts.map