export type ComponentState = { open?: boolean; filters?: string[]; search?: string; where?: Record; mounted?: boolean; state?: Record; [key: string]: any; }; export type ComponentName = 'sidebar' | 'summary' | 'details' | 'filters' | 'search' | string; export type HasComponentsState = { components: Record; };