import React from 'react'; import type { FilterConfig } from './components/types'; type FilterValue = string | string[] | Date | null; interface Config { title: string; summary: string; filters: FilterConfig[]; tourFilters?: FilterConfig[]; themeColor?: string; } export interface MetricsDataProps { id: number; gridColSpan?: number; metricData: any; } export interface VisualDataProps { id: number; sectionTitle: string; data: MetricsDataProps[]; } interface DashboardWrapperProps { data: { config: Config; visualData: VisualDataProps[]; eventsVisualData?: VisualDataProps[]; }; showVisualHeader?: boolean; showEventsTabbedLayout?: boolean; handleFilterChange?: (name: string, value: FilterValue) => void; handleTourFilterChange?: (name: string, value: FilterValue) => void; selectedFilters?: Record; tourSelectedFilters?: Record; resetFilters?: () => void; handleApplyFilters?: () => void; handleApplyTourFilters?: () => void; } declare const DashboardWrapper: React.FC; export default DashboardWrapper; export type { DashboardWrapperProps };