import type { SnippetScope, SnippetType } from './Snippet' export type StatsChartKey = 'total' | StatsConfigurableChartKey export type StatsConfigurableChartKey = 'type' | 'activation' | 'conditions' | 'location' | 'tags' export type StatsChartView = 'pie' | 'bar' | 'cloud' export type StatsChartViews = Readonly<{ type: 'pie' | 'bar' activation: 'pie' | 'bar' conditions: 'pie' | 'bar' location: 'pie' | 'bar' tags: 'bar' | 'cloud' }> export interface StatsChartEntry { readonly label: string readonly count: number | string readonly url?: string } export interface StatsSummary { readonly active: number | string readonly inactive: number | string readonly typeCounts: Readonly> readonly conditionCounts: Readonly> readonly locationCounts: Readonly> readonly tagCounts: Readonly> } export interface StatsChartPreferencesSchema { views: StatsChartViews }