import { AnalyticsParameters, RelativeTimePeriod, WeavableTheme } from '../types'; /** * Props for WeavableAnalytics component */ export interface WeavableAnalyticsProps { /** Optional className for custom styling */ className?: string; /** Optional message to display when no analytics are available */ noAnalyticsMessage?: string; /** Optional callback fired when analytics are successfully loaded */ onAnalyticsLoaded?: (params: { timePeriod: RelativeTimePeriod; }) => void; /** Optional callback fired when an error occurs during config or analytics fetching */ onError?: (error: Error) => void; /** Optional time period override (if not provided, uses config default) */ timePeriod?: RelativeTimePeriod; /** Include delta comparison with the previous period (if not provided, uses config default) */ includeDelta?: boolean; /** Optional preset to filter which analytics are returned by the config endpoint */ preset?: string; /** Optional filter to specific analytics IDs */ analyticsIds?: string[]; /** * Optional per-insight parameter overrides, keyed by analyticsId. Each value is a flat * map of the insight's declared parameter keys (e.g. `lookAheadDays`) to overrides. * Only values keyed under a given analyticsId are sent to that insight's call, so keys * cannot leak across insights. * * @example * { * growth_opportunities: { lookAheadDays: 30, capacityThreshold: 85 }, * } */ parameters?: AnalyticsParameters; /** Layout direction for analytics cards (default: 'vertical') * - 'vertical': cards stacked vertically * - 'horizontal': fixed column grid (column count set via analyticsColumns theme variable, default 4) * - 'horizontal-fit': cards share a single row equally, automatically fitting all cards */ layout?: 'vertical' | 'horizontal' | 'horizontal-fit'; /** Optional theme overrides scoped to this component (overrides provider-level theme) */ theme?: Partial; } /** * WeavableAnalytics - Main component that fetches and displays analytics visualizations */ export declare function WeavableAnalytics({ className, noAnalyticsMessage, onAnalyticsLoaded, onError, timePeriod: timePeriodProp, includeDelta: includeDeltaProp, preset, analyticsIds, parameters, layout, theme, }: WeavableAnalyticsProps): import("react/jsx-runtime").JSX.Element | null;