import type { Snippet } from 'svelte'; import type { MetricItem } from '../../molecules/MetricGrid/MetricGrid.svelte'; import type { AreaLinePoint } from '../../molecules/AreaLineChart/AreaLineChart.svelte'; import type { DonutSlice } from '../../molecules/DonutChart/DonutChart.svelte'; import type { HBarPoint } from '../../molecules/HorizontalBarChart/HorizontalBarChart.svelte'; import type { BarChartPoint } from '../../molecules/BarChart/BarChart.svelte'; import type { SegmentItem } from '../../molecules/SegmentedControl/SegmentedControl.svelte'; import type { LogEntry } from '../../molecules/LogViewer/LogViewer.svelte'; export interface AnalyticsInsight { id: string; title: string; detail: string; tone?: 'info' | 'success' | 'warning'; } interface AnalyticsPageProps { title?: string; description?: string; metrics?: MetricItem[]; /** Primary trend series (sessions / revenue / etc.) */ series?: AreaLinePoint[]; seriesLabel?: string; seriesUnit?: string; sources?: DonutSlice[]; topPages?: HBarPoint[]; /** Secondary bar series (e.g. conversions by day) */ secondarySeries?: BarChartPoint[]; secondaryLabel?: string; insights?: AnalyticsInsight[]; logs?: LogEntry[]; period?: string; periods?: SegmentItem[]; updatedLabel?: string; live?: boolean; empty?: boolean; emptyTitle?: string; emptyDescription?: string; class?: string; actions?: Snippet; onperiodchange?: (period: string) => void; onexport?: () => void; } declare const AnalyticsPage: import("svelte").Component; type AnalyticsPage = ReturnType; export default AnalyticsPage;